Struct GeneratedParameter
Describes a source-generated DotBoxD service method parameter.
public readonly record struct GeneratedParameter : IEquatable<GeneratedParameter>
- Implements
- Inherited Members
Constructors
GeneratedParameter(string, Type, int, bool, bool, object?)
Describes a source-generated DotBoxD service method parameter.
public GeneratedParameter(string Name, Type Type, int Position, bool IsCancellationToken, bool HasDefaultValue, object? DefaultValue)
Parameters
NamestringTypeTypePositionintIsCancellationTokenboolHasDefaultValueboolDefaultValueobject
Properties
DefaultValue
public object? DefaultValue { get; init; }
Property Value
HasDefaultValue
public bool HasDefaultValue { get; init; }
Property Value
IsCancellationToken
public bool IsCancellationToken { get; init; }
Property Value
Name
public string Name { get; init; }
Property Value
Position
public int Position { get; init; }
Property Value
Type
public Type Type { get; init; }