ConsoleForge 0.3.0
Elm-architecture TUI framework for .NET 8
Loading...
Searching...
No Matches
ConsoleForge.SourceGen.ComponentGenerator Class Referencesealed

Roslyn incremental source generator that handles the [Component] attribute. More...

Public Member Functions

void Initialize (IncrementalGeneratorInitializationContext context)

Detailed Description

Roslyn incremental source generator that handles the [Component] attribute.

Emits Init() and the explicit IComponent<TResult>.Result property when the type implements IComponent<TResult> and hasn't declared them manually.


The documentation for this class was generated from the following file:
  • src/ConsoleForge.SourceGen/ComponentGenerator.cs