Table of Contents

Class LocatorPipelineExtensions

Namespace
IceRpc
Assembly
IceRpc.Locator.dll

Provides extension methods for Pipeline to add the locator interceptor.

public static class LocatorPipelineExtensions
Inheritance
LocatorPipelineExtensions
Inherited Members

Methods

UseLocator(Pipeline, ILocationResolver)

Adds a LocatorInterceptor to the pipeline, using the specified location resolver.

public static Pipeline UseLocator(this Pipeline pipeline, ILocationResolver locationResolver)

Parameters

pipeline Pipeline

The pipeline being configured.

locationResolver ILocationResolver

The location resolver instance.

Returns

Pipeline

The pipeline being configured.

UseLocator(Pipeline, ILocator)

Adds a LocatorInterceptor to the pipeline, using the specified locator.

public static Pipeline UseLocator(this Pipeline pipeline, ILocator locator)

Parameters

pipeline Pipeline

The pipeline being configured.

locator ILocator

The locator used for the resolutions.

Returns

Pipeline

The pipeline being configured.

UseLocator(Pipeline, ILocator, ILoggerFactory)

Adds a LocatorInterceptor to the pipeline, using the specified locator.

public static Pipeline UseLocator(this Pipeline pipeline, ILocator locator, ILoggerFactory loggerFactory)

Parameters

pipeline Pipeline

The pipeline being configured.

locator ILocator

The locator used for the resolutions.

loggerFactory ILoggerFactory

The logger factory used to create a ILogger<TCategoryName> for LocatorInterceptor.

Returns

Pipeline

The pipeline being configured.