Automatic interfaces generation in the C#

RMAG news

I created a simple package for the C# language to automatically generate an interfaces using incremental generators. Here’s how to use it:

[Minerals.AutoInterfaces.GenerateInterface]
public class ExampleClass
{
// Your implementation…
}
// or
[Minerals.AutoInterfaces.GenerateInterface(“CustomInterfaceName”)]
public class ExampleClass
{
// Your implementation…
}

GitHub: https://github.com/SzymonHalucha/Minerals.AutoInterfaces
NuGet: https://www.nuget.org/packages/Minerals.AutoInterfaces/

Leave a Reply

Your email address will not be published. Required fields are marked *