Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[Generator]
public class DtoGenerator : ISourceGenerator
{
public void Execute(GeneratorExecutionContext context)
{
}
public void Initialize(GeneratorInitializationContext context)
{
context.RegisterForSyntaxNotifications(() => new TargetTypeTracker());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment