Skip to content

Struct GeneratedMethod

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

Describes a source-generated DotBoxD service method.

public readonly record struct GeneratedMethod : IEquatable<GeneratedMethod>

IEquatable<GeneratedMethod>

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

GeneratedMethod(string, string, Type, Type?, GeneratedReturnKind, bool, IReadOnlyList<GeneratedParameter>)

Section titled “ 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)

Name string

WireName string

ReturnType Type

ResultType Type?

ReturnKind GeneratedReturnKind

ReturnsNestedService bool

Parameters IReadOnlyList<GeneratedParameter>

public string Name { get; init; }

string

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

IReadOnlyList<GeneratedParameter>

public Type? ResultType { get; init; }

Type?

public GeneratedReturnKind ReturnKind { get; init; }

GeneratedReturnKind

public Type ReturnType { get; init; }

Type

public bool ReturnsNestedService { get; init; }

bool

public string WireName { get; init; }

string