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
pipelinePipelineThe pipeline being configured.
locationResolverILocationResolverThe 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
pipelinePipelineThe pipeline being configured.
locatorILocatorThe 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
pipelinePipelineThe pipeline being configured.
locatorILocatorThe locator used for the resolutions.
loggerFactoryILoggerFactoryThe logger factory used to create a ILogger<TCategoryName> for LocatorInterceptor.
Returns
- Pipeline
The pipeline being configured.