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
PipelineThe pipeline being configured.
locationResolver
ILocationResolverThe 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
PipelineThe pipeline being configured.
locator
ILocatorThe 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
PipelineThe pipeline being configured.
locator
ILocatorThe locator used for the resolutions.
loggerFactory
ILoggerFactoryThe logger factory used to create a ILogger<TCategoryName> for LocatorInterceptor.
Returns
- Pipeline
The pipeline being configured.