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/
Top comments (0)