Table of Contents

Class InvokerServiceCollectionExtensions

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

Provides an extension method for IServiceCollection to add an invoker.

public static class InvokerServiceCollectionExtensions
Inheritance
InvokerServiceCollectionExtensions
Inherited Members

Methods

AddIceRpcInvoker(IServiceCollection, Action<IInvokerBuilder>)

Adds an IInvoker to this service collection.

public static IServiceCollection AddIceRpcInvoker(this IServiceCollection services, Action<IInvokerBuilder> configure)

Parameters

services IServiceCollection

The service collection to add services to.

configure Action<IInvokerBuilder>

The action to configure the new invoker.

Returns

IServiceCollection

The service collection.