Table of Contents

Namespace IceRpc.Extensions.DependencyInjection

Provides APIs related to Dependency Injection.

Classes

ClientConnectionServiceCollectionExtensions

Provides an extension method for IServiceCollection to add a client connection.

CompressorDispatcherBuilderExtensions

Provides an extension method for IDispatcherBuilder to add the compressor middleware.

CompressorInvokerBuilderExtensions

Provides an extension method for IInvokerBuilder to add the compressor interceptor.

ConnectionCacheServiceCollectionExtensions

Provides an extension method for IServiceCollection to add a connection cache.

DeadlineDispatcherBuilderExtensions

Provides an extension method for IDispatcherBuilder to add the deadline middleware.

DeadlineInvokerBuilderExtensions

Provides extension methods for IInvokerBuilder to add the deadline interceptor.

DispatcherBuilderExtensions

Provides extension methods for IDispatcherBuilder to add a middleware that sets a feature.

DispatcherServiceCollectionExtensions

Provides an extension method for IServiceCollection to add a dispatcher.

InvokerBuilderExtensions

Provides extension methods for IInvokerBuilder to add the last invoker of an invocation pipeline or to add a middleware that sets a feature.

InvokerServiceCollectionExtensions

Provides an extension method for IServiceCollection to add an invoker.

LoggerDispatcherBuilderExtensions

Provides an extension method for IDispatcherBuilder to add the logger middleware.

LoggerInvokerBuilderExtensions

Provides an extension method for IInvokerBuilder to add the logger interceptor.

MetricsDispatcherBuilderExtensions

Provides an extension method for IDispatcherBuilder to add the metrics middleware.

MetricsInvokerBuilderExtensions

Provides an extension method for IInvokerBuilder to add a metrics interceptor.

MiddlewareDispatcherBuilderExtensions

Provides extension methods for IDispatcherBuilder to register middleware.

RequestContextDispatcherBuilderExtensions

Provides an extension method for IDispatcherBuilder to add the request context middleware.

RequestContextInvokerBuilderExtensions

Provides an extension method for IInvokerBuilder to add the request context interceptor.

RetryInvokerBuilderExtensions

Provides extension methods for IInvokerBuilder to add the retry interceptor.

ServerServiceCollectionExtensions

Provides extension methods for IServiceCollection to add a Server.

ServiceProviderFeature

Default implementation of IServiceProviderFeature.

TelemetryDispatcherBuilderExtensions

Provides an extension method for IDispatcherBuilder to add the telemetry middleware.

TelemetryInvokerBuilderExtensions

Provides an extension method for IInvokerBuilder to add the telemetry interceptor.

Interfaces

IDispatcherBuilder

Provides the mechanism to configure a dispatcher when using Dependency Injection (DI). Each request is dispatched in its own scope.

IInvokerBuilder

Provides the mechanism to configure an invoker when using Dependency Injection (DI).

IMiddleware<TDep>

Represents a middleware with a single injected service dependency in its DispatchAsync(IncomingRequest, TDep, CancellationToken) method.

IMiddleware<TDep1, TDep2>

Represents a middleware with 2 injected service dependencies in its DispatchAsync(IncomingRequest, TDep1, TDep2, CancellationToken) method.

IMiddleware<TDep1, TDep2, TDep3>

Represents a middleware with 3 injected service dependencies in its DispatchAsync(IncomingRequest, TDep1, TDep2, TDep3, CancellationToken) method.

IServiceProviderFeature

A feature that gives access to the service provider. When transmitted with an IncomingRequest, this service provider is typically the service provider of the async scope created for the request.