Skip to content

Struct GeneratedService

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

Describes a source-generated DotBoxD service and its generated implementation types.

public readonly record struct GeneratedService : IEquatable<GeneratedService>

IEquatable<GeneratedService>

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

GeneratedService(Type, Type, Type, string)

Section titled “ GeneratedService(Type, Type, Type, string)”

Describes a source-generated DotBoxD service and its generated implementation types.

public GeneratedService(Type ServiceType, Type ProxyType, Type DispatcherType, string ServiceName)

ServiceType Type

ProxyType Type

DispatcherType Type

ServiceName string

GeneratedService(Type, Type, Type, string, IReadOnlyList<GeneratedMethod>)

Section titled “ GeneratedService(Type, Type, Type, string, IReadOnlyList<GeneratedMethod>)”

Creates service metadata with generated method descriptors.

public GeneratedService(Type serviceType, Type proxyType, Type dispatcherType, string serviceName, IReadOnlyList<GeneratedMethod> methods)

serviceType Type

proxyType Type

dispatcherType Type

serviceName string

methods IReadOnlyList<GeneratedMethod>

public Type DispatcherType { get; init; }

Type

Describes the RPC-facing methods generated for this service.

public IReadOnlyList<GeneratedMethod> Methods { get; init; }

IReadOnlyList<GeneratedMethod>

public Type ProxyType { get; init; }

Type

public string ServiceName { get; init; }

string

public Type ServiceType { get; init; }

Type