Struct GeneratedParameter
Namespace: DotBoxD.Services.Generated
Assembly: DotBoxD.Services.dll
Describes a source-generated DotBoxD service method parameter.
public readonly record struct GeneratedParameter : IEquatable<GeneratedParameter>Implements
Section titled “Implements”IEquatable<GeneratedParameter>
Inherited Members
Section titled “Inherited Members”object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object, object), object.ToString()
Constructors
Section titled “Constructors”GeneratedParameter(string, Type, int, bool, bool, object?)
Section titled “ 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
Section titled “Parameters”Name string
Type Type
Position int
IsCancellationToken bool
HasDefaultValue bool
DefaultValue object?
Properties
Section titled “Properties”DefaultValue
Section titled “ DefaultValue”public object? DefaultValue { get; init; }Property Value
Section titled “Property Value”HasDefaultValue
Section titled “ HasDefaultValue”public bool HasDefaultValue { get; init; }Property Value
Section titled “Property Value”IsCancellationToken
Section titled “ IsCancellationToken”public bool IsCancellationToken { get; init; }Property Value
Section titled “Property Value”public string Name { get; init; }Property Value
Section titled “Property Value”Position
Section titled “ Position”public int Position { get; init; }Property Value
Section titled “Property Value”public Type Type { get; init; }