Table of Contents

Struct GeneratedMethod

Namespace
DotBoxD.Services.Generated
Assembly
DotBoxD.Services.dll

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

Name string
WireName string
ReturnType Type
ResultType Type
ReturnKind GeneratedReturnKind
ReturnsNestedService bool
Parameters IReadOnlyList<GeneratedParameter>

Properties

Name

public string Name { get; init; }

Property Value

string

Parameters

public IReadOnlyList<GeneratedParameter> Parameters { get; init; }

Property Value

IReadOnlyList<GeneratedParameter>

ResultType

public Type? ResultType { get; init; }

Property Value

Type

ReturnKind

public GeneratedReturnKind ReturnKind { get; init; }

Property Value

GeneratedReturnKind

ReturnType

public Type ReturnType { get; init; }

Property Value

Type

ReturnsNestedService

public bool ReturnsNestedService { get; init; }

Property Value

bool

WireName

public string WireName { get; init; }

Property Value

string