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
BasePathFactory
Base path factory
public Func<IServiceProvider, string> BasePathFactory { get; set; }
Property Value
BaseUriFactory
Base Uri factory
public Func<IServiceProvider, Uri> BaseUriFactory { get; set; }
Property Value
CacheHandlerFactory
Cache handler factory
public Func<IServiceProvider, ICacheHandler> CacheHandlerFactory { get; set; }
Property Value
CacheHandlerType
Type of the cache handler
public Type CacheHandlerType { get; set; }
Property Value
ConnectivityHandlerFactory
Connectivity handler factory
public Func<IServiceProvider, IConnectivityHandler> ConnectivityHandlerFactory { get; set; }
Property Value
ConnectivityHandlerType
Type of the connectivity handler
public Type ConnectivityHandlerType { get; set; }
Property Value
DelegatingHandlersExtendedFactories
Delegating handlers factories
public IDictionary<Type, Func<IServiceProvider, IApizrManagerOptionsBase, DelegatingHandler>> DelegatingHandlersExtendedFactories { get; }
Property Value
ExceptionHandlersFactory
Exception handlers factory
public Func<IServiceProvider, IList<IApizrExceptionHandler>> ExceptionHandlersFactory { get; set; }
Property Value
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
HttpClientHandlerFactory
HttpClientHandler factory
public Func<IServiceProvider, HttpClientHandler> HttpClientHandlerFactory { get; set; }
Property Value
HttpMessageHandlerFactory
HttpMessageHandler factory
public Func<IServiceProvider, IApizrManagerOptionsBase, HttpMessageHandler> HttpMessageHandlerFactory { get; set; }
Property Value
HttpTracerModeFactory
Http traffic tracing mode factory
public Func<IServiceProvider, HttpTracerMode> HttpTracerModeFactory { get; set; }
Property Value
LogLevelsFactory
Log levels factory
public Func<IServiceProvider, LogLevel[]> LogLevelsFactory { get; set; }
Property Value
MappingHandlerFactory
Mapping handler factory
public Func<IServiceProvider, IMappingHandler> MappingHandlerFactory { get; set; }
Property Value
MappingHandlerType
Type of the mapping handler
public Type MappingHandlerType { get; set; }
Property Value
ObjectMappings
Mappings between api request object and model object used for classic auto registration
public IDictionary<Assembly, MappedWithAttribute[]> ObjectMappings { get; }
Property Value
OperationTimeoutFactory
The operation timeout factory (overall request tries)
public Func<IServiceProvider, TimeSpan> OperationTimeoutFactory { get; set; }
Property Value
PostRegistrationActions
Post registration actions
public IList<Action<IApizrExtendedManagerOptions, IServiceCollection>> PostRegistrationActions { get; }
Property Value
PostRegistries
Other registries plugged during post registration actions
public IDictionary<Type, IApizrExtendedConcurrentRegistryBase> PostRegistries { get; }
Property Value
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
TrafficVerbosityFactory
Http traffic tracing verbosity factory
public Func<IServiceProvider, HttpMessageParts> TrafficVerbosityFactory { get; set; }
Property Value
WebApis
Web apis auto registered with IApizrManager<TWebApi>
public IDictionary<Type, BaseAddressAttribute> WebApis { get; }