Class ApizrExtendedOptions
Options available for extended registrations
Inheritance
Implements
Inherited Members
Namespace: Apizr.Extending.Configuring
Assembly: Apizr.Extensions.Microsoft.DependencyInjection.dll
Syntax
public class ApizrExtendedOptions : ApizrExtendedOptionsBase, IApizrExtendedOptions, IApizrExtendedOptionsBase, IApizrOptionsBase, IApizrExtendedCommonOptions, IApizrExtendedCommonOptionsBase, IApizrCommonOptionsBase, IApizrExtendedProperOptions, IApizrExtendedProperOptionsBase, IApizrProperOptionsBase, IApizrExtendedSharedOptions, IApizrExtendedSharedOptionsBase, IApizrSharedOptionsBase
Constructors
ApizrExtendedOptions(IApizrExtendedCommonOptions, IApizrExtendedProperOptions)
The options constructor
Declaration
public ApizrExtendedOptions(IApizrExtendedCommonOptions commonOptions, IApizrExtendedProperOptions properOptions)
Parameters
Type | Name | Description |
---|---|---|
IApizrExtendedCommonOptions | commonOptions | The common options |
IApizrExtendedProperOptions | properOptions | The proper options |
Properties
ApizrManagerType
Type of the manager
Declaration
public Type ApizrManagerType { get; }
Property Value
Type | Description |
---|---|
System.Type |
BaseAddressFactory
Base address factory
Declaration
public Func<IServiceProvider, string> BaseAddressFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.IServiceProvider, System.String> |
BasePathFactory
Base path factory
Declaration
public Func<IServiceProvider, string> BasePathFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.IServiceProvider, System.String> |
BaseUriFactory
Base Uri factory
Declaration
public Func<IServiceProvider, Uri> BaseUriFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.IServiceProvider, System.Uri> |
CacheHandlerFactory
Cache handler factory
Declaration
public Func<IServiceProvider, ICacheHandler> CacheHandlerFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.IServiceProvider, ICacheHandler> |
CacheHandlerType
Type of the cache handler
Declaration
public Type CacheHandlerType { get; set; }
Property Value
Type | Description |
---|---|
System.Type |
ConnectivityHandlerFactory
Connectivity handler factory
Declaration
public Func<IServiceProvider, IConnectivityHandler> ConnectivityHandlerFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.IServiceProvider, IConnectivityHandler> |
ConnectivityHandlerType
Type of the connectivity handler
Declaration
public Type ConnectivityHandlerType { get; set; }
Property Value
Type | Description |
---|---|
System.Type |
CrudEntities
Entities auto registered with IApizrManager<TWebApi>
Declaration
public IDictionary<Type, CrudEntityAttribute> CrudEntities { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.Type, CrudEntityAttribute> |
HttpClientBuilder
HttpClient builder
Declaration
public Action<IHttpClientBuilder> HttpClientBuilder { get; set; }
Property Value
Type | Description |
---|---|
System.Action<Microsoft.Extensions.DependencyInjection.IHttpClientBuilder> |
HttpClientHandlerFactory
HttpClientHandler factory
Declaration
public Func<IServiceProvider, HttpClientHandler> HttpClientHandlerFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.IServiceProvider, System.Net.Http.HttpClientHandler> |
HttpTracerModeFactory
Http traffic tracing mode factory
Declaration
public Func<IServiceProvider, HttpTracerMode> HttpTracerModeFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.IServiceProvider, HttpTracerMode> |
LoggerFactory
The Logger factory
Declaration
public Func<IServiceProvider, string, ILogger> LoggerFactory { get; protected set; }
Property Value
Type | Description |
---|---|
System.Func<System.IServiceProvider, System.String, Microsoft.Extensions.Logging.ILogger> |
LogLevelsFactory
Log levels factory
Declaration
public Func<IServiceProvider, LogLevel[]> LogLevelsFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.IServiceProvider, Microsoft.Extensions.Logging.LogLevel[]> |
MappingHandlerFactory
Mapping handler factory
Declaration
public Func<IServiceProvider, IMappingHandler> MappingHandlerFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.IServiceProvider, IMappingHandler> |
MappingHandlerType
Type of the mapping handler
Declaration
public Type MappingHandlerType { get; set; }
Property Value
Type | Description |
---|---|
System.Type |
ObjectMappings
Mappings between api request object and model object used for classic auto registration
Declaration
public IDictionary<Type, MappedWithAttribute> ObjectMappings { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.Type, MappedWithAttribute> |
PostRegistrationActions
Post registration actions
Declaration
public IList<Action<Type, IServiceCollection>> PostRegistrationActions { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.Action<System.Type, Microsoft.Extensions.DependencyInjection.IServiceCollection>> |
PostRegistries
Other registries plugged during post registration actions
Declaration
public IDictionary<Type, IApizrExtendedConcurrentRegistryBase> PostRegistries { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.Type, IApizrExtendedConcurrentRegistryBase> |
RefitSettingsFactory
Refit settings factory
Declaration
public Func<IServiceProvider, RefitSettings> RefitSettingsFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.IServiceProvider, Refit.RefitSettings> |
TrafficVerbosityFactory
Http traffic tracing verbosity factory
Declaration
public Func<IServiceProvider, HttpMessageParts> TrafficVerbosityFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.IServiceProvider, HttpMessageParts> |
WebApis
Web apis auto registered with IApizrManager<TWebApi>
Declaration
public IDictionary<Type, WebApiAttribute> WebApis { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.Type, WebApiAttribute> |