Table of Contents

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
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

Name string
Type Type
Position int
IsCancellationToken bool
HasDefaultValue bool
DefaultValue object

Properties

DefaultValue

public object? DefaultValue { get; init; }

Property Value

object

HasDefaultValue

public bool HasDefaultValue { get; init; }

Property Value

bool

IsCancellationToken

public bool IsCancellationToken { get; init; }

Property Value

bool

Name

public string Name { get; init; }

Property Value

string

Position

public int Position { get; init; }

Property Value

int

Type

public Type Type { get; init; }

Property Value

Type