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

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

Public Member Functions

void Initialize (IncrementalGeneratorInitializationContext context)

Detailed Description

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

Scans the target type for On{MsgType}() handler methods and emits the Update(IMsg) switch dispatch. Optionally emits [Component] scaffolding when both attributes are present.


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