Table of Contents

Class ApizrExtendedManagerOptions

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

Options available for extended registrations

public class ApizrExtendedManagerOptions : ApizrExtendedManagerOptionsBase, IApizrExtendedManagerOptions, IApizrExtendedManagerOptionsBase, IApizrManagerOptionsBase, IApizrExtendedCommonOptions, IApizrExtendedCommonOptionsBase, IApizrCommonOptionsBase, IApizrExtendedProperOptions, IApizrExtendedProperOptionsBase, IApizrProperOptionsBase, IApizrSharedRegistrationOptionsBase, IApizrExtendedSharedOptions, IApizrExtendedSharedOptionsBase, IApizrGlobalSharedRegistrationOptionsBase, IApizrGlobalSharedOptionsBase
Inheritance
ApizrExtendedManagerOptions
Implements
Inherited Members

Constructors

ApizrExtendedManagerOptions(IApizrExtendedCommonOptions, IApizrExtendedProperOptions)

The options constructor

public ApizrExtendedManagerOptions(IApizrExtendedCommonOptions commonOptions, IApizrExtendedProperOptions properOptions)

Parameters

commonOptions IApizrExtendedCommonOptions

The common options

properOptions IApizrExtendedProperOptions

The proper options

Properties

ApizrManagerImplementationType

Type of the implemented manager

public Type ApizrManagerImplementationType { get; }

Property Value

Type

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

CrudApiEntityKeyType

Type of the crud api entity key if any

public Type CrudApiEntityKeyType { get; }

Property Value

Type

CrudApiReadAllParamsType

Type of the crud api read all parameters if any

public Type CrudApiReadAllParamsType { get; }

Property Value

Type

CrudApiReadAllResultType

Type of the crud api read all result if any

public Type CrudApiReadAllResultType { get; }

Property Value

Type

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[]>

LoggerFactory

The Logger factory

public Func<IServiceProvider, string, ILogger> LoggerFactory { get; protected set; }

Property Value

Func<IServiceProvider, string, ILogger>

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>