Метод | Описание | |
---|---|---|
Create ( Tsu.CLI.SourceGenerator.CommandManager.CommandManagerClass commandManager, INamedTypeSymbol classSymbol, AttributeSyntax attributeSyntax, string? verb = null ) : Diagnostic>.Result |
Attempts to create a new CommandClass.
|
|
GetCommandMethods ( CancellationToken cancellationToken = default ) : Result |
Gets all command methods from this command class.
|
|
ToSyntaxNode ( IdentifierNameSyntax inputIdentifier, IdentifierNameSyntax spaceIndexIdentifier ) : Diagnostic>.Result |
Метод | Описание | |
---|---|---|
CommandClass ( Tsu.CLI.SourceGenerator.CommandManager.CommandManagerClass commandManager, INamedTypeSymbol classSymbol, AttributeSyntax attributeSyntax, string? verb = null ) : System |
Initializes a new command class
|
public static Create ( Tsu.CLI.SourceGenerator.CommandManager.CommandManagerClass commandManager, INamedTypeSymbol classSymbol, AttributeSyntax attributeSyntax, string? verb = null ) : Diagnostic>.Result |
||
commandManager | Tsu.CLI.SourceGenerator.CommandManager.CommandManagerClass | |
classSymbol | INamedTypeSymbol | |
attributeSyntax | AttributeSyntax | |
verb | string? | |
Результат | Diagnostic>.Result |
public GetCommandMethods ( CancellationToken cancellationToken = default ) : Result |
||
cancellationToken | CancellationToken | |
Результат | Result |
public ToSyntaxNode ( IdentifierNameSyntax inputIdentifier, IdentifierNameSyntax spaceIndexIdentifier ) : Diagnostic>.Result |
||
inputIdentifier | IdentifierNameSyntax | |
spaceIndexIdentifier | IdentifierNameSyntax | |
Результат | Diagnostic>.Result |