Table of Contents

Class DispatcherServiceCollectionExtensions

Namespace
IceRpc.Extensions.DependencyInjection
Assembly
IceRpc.Extensions.DependencyInjection.dll

Provides an extension method for IServiceCollection to add a dispatcher.

public static class DispatcherServiceCollectionExtensions
Inheritance
DispatcherServiceCollectionExtensions
Inherited Members

Methods

AddIceRpcDispatcher(IServiceCollection, Action<IDispatcherBuilder>)

Adds an IDispatcher to this service collection.

public static IServiceCollection AddIceRpcDispatcher(this IServiceCollection services, Action<IDispatcherBuilder> configure)

Parameters

services IServiceCollection

The service collection to add services to.

configure Action<IDispatcherBuilder>

The action to configure the new dispatcher.

Returns

IServiceCollection

The service collection.