Table of Contents

Class ApizrExtendedCommonOptions

Namespace
Apizr.Extending.Configuring.Common
Assembly
Apizr.Extensions.Microsoft.DependencyInjection.dll

Options available at common level for extended registrations

public class ApizrExtendedCommonOptions : ApizrCommonOptionsBase, IApizrExtendedCommonOptions, IApizrExtendedCommonOptionsBase, IApizrCommonOptionsBase, IApizrSharedRegistrationOptionsBase, IApizrExtendedSharedOptions, IApizrExtendedSharedOptionsBase, IApizrGlobalSharedRegistrationOptionsBase, IApizrGlobalSharedOptionsBase
Inheritance
ApizrExtendedCommonOptions
Implements
Inherited Members

Constructors

ApizrExtendedCommonOptions(IApizrExtendedCommonOptions)

public ApizrExtendedCommonOptions(IApizrExtendedCommonOptions baseCommonOptions = null)

Parameters

baseCommonOptions IApizrExtendedCommonOptions

Properties

BaseAddressFactory

Base address factory

public Func<IServiceProvider, string> BaseAddressFactory { get; set; }

Property Value

Func<IServiceProvider, string>

BasePathFactory

Base path factory

public Func<IServiceProvider, string> BasePathFactory { get; set; }

Property Value

Func<IServiceProvider, string>

BaseUriFactory

Base Uri factory

public Func<IServiceProvider, Uri> BaseUriFactory { get; set; }

Property Value

Func<IServiceProvider, Uri>

CacheHandlerFactory

Cache handler factory

public Func<IServiceProvider, ICacheHandler> CacheHandlerFactory { get; set; }

Property Value

Func<IServiceProvider, ICacheHandler>

CacheHandlerType

Type of the cache handler

public Type CacheHandlerType { get; set; }

Property Value

Type

ConnectivityHandlerFactory

Connectivity handler factory

public Func<IServiceProvider, IConnectivityHandler> ConnectivityHandlerFactory { get; set; }

Property Value

Func<IServiceProvider, IConnectivityHandler>

ConnectivityHandlerType

Type of the connectivity handler

public Type ConnectivityHandlerType { get; set; }

Property Value

Type

DelegatingHandlersExtendedFactories

Delegating handlers factories

public IDictionary<Type, Func<IServiceProvider, IApizrManagerOptionsBase, DelegatingHandler>> DelegatingHandlersExtendedFactories { get; }

Property Value

IDictionary<Type, Func<IServiceProvider, IApizrManagerOptionsBase, DelegatingHandler>>

ExceptionHandlersFactory

Exception handlers factory

public Func<IServiceProvider, IList<IApizrExceptionHandler>> ExceptionHandlersFactory { get; set; }

Property Value

Func<IServiceProvider, IList<IApizrExceptionHandler>>

HeadersExtendedFactories

Headers factories

public IDictionary<(ApizrRegistrationMode, ApizrLifetimeScope), Func<IServiceProvider, Func<IList<string>>>> HeadersExtendedFactories { get; }

Property Value

IDictionary<(ApizrRegistrationMode, ApizrLifetimeScope), Func<IServiceProvider, Func<IList<string>>>>

HttpClientBuilder

HttpClient builder

public Action<IHttpClientBuilder> HttpClientBuilder { get; set; }

Property Value

Action<IHttpClientBuilder>

HttpClientHandlerFactory

HttpClientHandler factory

public Func<IServiceProvider, HttpClientHandler> HttpClientHandlerFactory { get; set; }

Property Value

Func<IServiceProvider, HttpClientHandler>

HttpMessageHandlerFactory

HttpMessageHandler factory

public Func<IServiceProvider, IApizrManagerOptionsBase, HttpMessageHandler> HttpMessageHandlerFactory { get; set; }

Property Value

Func<IServiceProvider, IApizrManagerOptionsBase, HttpMessageHandler>

HttpTracerModeFactory

Http traffic tracing mode factory

public Func<IServiceProvider, HttpTracerMode> HttpTracerModeFactory { get; set; }

Property Value

Func<IServiceProvider, HttpTracerMode>

LogLevelsFactory

Log levels factory

public Func<IServiceProvider, LogLevel[]> LogLevelsFactory { get; set; }

Property Value

Func<IServiceProvider, LogLevel[]>

MappingHandlerFactory

Mapping handler factory

public Func<IServiceProvider, IMappingHandler> MappingHandlerFactory { get; set; }

Property Value

Func<IServiceProvider, IMappingHandler>

MappingHandlerType

Type of the mapping handler

public Type MappingHandlerType { get; set; }

Property Value

Type

ObjectMappings

Mappings between api request object and model object used for classic auto registration

public IDictionary<Assembly, MappedWithAttribute[]> ObjectMappings { get; }

Property Value

IDictionary<Assembly, MappedWithAttribute[]>

OperationTimeoutFactory

The operation timeout factory (overall request tries)

public Func<IServiceProvider, TimeSpan> OperationTimeoutFactory { get; set; }

Property Value

Func<IServiceProvider, TimeSpan>

PostRegistrationActions

Post registration actions

public IList<Action<IApizrExtendedManagerOptions, IServiceCollection>> PostRegistrationActions { get; }

Property Value

IList<Action<IApizrExtendedManagerOptions, IServiceCollection>>

PostRegistries

Other registries plugged during post registration actions

public IDictionary<Type, IApizrExtendedConcurrentRegistryBase> PostRegistries { get; }

Property Value

IDictionary<Type, IApizrExtendedConcurrentRegistryBase>

RefitSettingsFactory

Refit settings factory

public Func<IServiceProvider, RefitSettings> RefitSettingsFactory { get; set; }

Property Value

Func<IServiceProvider, RefitSettings>

RequestTimeoutFactory

The request timeout factory (each request try)

public Func<IServiceProvider, TimeSpan> RequestTimeoutFactory { get; set; }

Property Value

Func<IServiceProvider, TimeSpan>

TrafficVerbosityFactory

Http traffic tracing verbosity factory

public Func<IServiceProvider, HttpMessageParts> TrafficVerbosityFactory { get; set; }

Property Value

Func<IServiceProvider, HttpMessageParts>

WebApis

Web apis auto registered with IApizrManager<TWebApi>

public IDictionary<Type, BaseAddressAttribute> WebApis { get; }

Property Value

IDictionary<Type, BaseAddressAttribute>