Skip to content

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>

IEquatable<GeneratedParameter>

object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object, object), object.ToString()

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)

Name string

Type Type

Position int

IsCancellationToken bool

HasDefaultValue bool

DefaultValue object?

public object? DefaultValue { get; init; }

object?

public bool HasDefaultValue { get; init; }

bool

public bool IsCancellationToken { get; init; }

bool

public string Name { get; init; }

string

public int Position { get; init; }

int

public Type Type { get; init; }

Type