Skip to content

Interface IRpcGeneratedServiceRegistrationSink

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

Receives source-generated service, proxy, and dispatcher registrations without scanning generated types.

public interface IRpcGeneratedServiceRegistrationSink

AddService<TService, TProxy, TDispatcher>()

Section titled “ AddService<TService, TProxy, TDispatcher>()”

Adds one generated proxy and dispatcher pair for an RPC service interface.

void AddService<TService, TProxy, TDispatcher>() where TService : class where TProxy : TService where TDispatcher : IServiceDispatcher

TService

TProxy

TDispatcher