Struct GeneratedMethod
Describes a source-generated DotBoxD service method.
public readonly record struct GeneratedMethod : IEquatable<GeneratedMethod>
- Implements
- Inherited Members
Constructors
GeneratedMethod(string, string, Type, Type?, GeneratedReturnKind, bool, IReadOnlyList<GeneratedParameter>)
Describes a source-generated DotBoxD service method.
public GeneratedMethod(string Name, string WireName, Type ReturnType, Type? ResultType, GeneratedReturnKind ReturnKind, bool ReturnsNestedService, IReadOnlyList<GeneratedParameter> Parameters)
Parameters
NamestringWireNamestringReturnTypeTypeResultTypeTypeReturnKindGeneratedReturnKindReturnsNestedServiceboolParametersIReadOnlyList<GeneratedParameter>
Properties
Name
public string Name { get; init; }
Property Value
Parameters
public IReadOnlyList<GeneratedParameter> Parameters { get; init; }
Property Value
ResultType
public Type? ResultType { get; init; }
Property Value
ReturnKind
public GeneratedReturnKind ReturnKind { get; init; }
Property Value
ReturnType
public Type ReturnType { get; init; }
Property Value
ReturnsNestedService
public bool ReturnsNestedService { get; init; }
Property Value
WireName
public string WireName { get; init; }