Table of Contents

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>
Implements
Inherited Members

Constructors

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)

Parameters

ServiceType Type
ProxyType Type
DispatcherType Type
ServiceName string

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)

Parameters

serviceType Type
proxyType Type
dispatcherType Type
serviceName string
methods IReadOnlyList<GeneratedMethod>

Properties

DispatcherType

public Type DispatcherType { get; init; }

Property Value

Type

Methods

Describes the RPC-facing methods generated for this service.

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

Property Value

IReadOnlyList<GeneratedMethod>

ProxyType

public Type ProxyType { get; init; }

Property Value

Type

ServiceName

public string ServiceName { get; init; }

Property Value

string

ServiceType

public Type ServiceType { get; init; }

Property Value

Type