Class ApizrOptions
Options available for static registrations
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Apizr.Configuring
Assembly: Apizr.dll
Syntax
public class ApizrOptions : ApizrOptionsBase, IApizrOptions, IApizrOptionsBase, IApizrCommonOptions, IApizrCommonOptionsBase, IApizrProperOptions, IApizrProperOptionsBase, IApizrSharedOptions, IApizrSharedOptionsBase
Constructors
ApizrOptions(IApizrCommonOptions, IApizrProperOptions)
The options constructor
Declaration
public ApizrOptions(IApizrCommonOptions commonOptions, IApizrProperOptions properOptions)
Parameters
Type | Name | Description |
---|---|---|
IApizrCommonOptions | commonOptions | The common options |
IApizrProperOptions | properOptions | The proper options |
Properties
BaseAddressFactory
Base address factory
Declaration
public Func<string> BaseAddressFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.String> |
BasePathFactory
Base path factory
Declaration
public Func<string> BasePathFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.String> |
BaseUriFactory
Base uri factory
Declaration
public Func<Uri> BaseUriFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.Uri> |
CacheHandlerFactory
Cache handler factory
Declaration
public Func<ICacheHandler> CacheHandlerFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<ICacheHandler> |
ConnectivityHandlerFactory
Connectivity handler factory
Declaration
public Func<IConnectivityHandler> ConnectivityHandlerFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<IConnectivityHandler> |
DelegatingHandlersFactories
Delegating handlers factories
Declaration
public IList<Func<ILogger, IApizrOptionsBase, DelegatingHandler>> DelegatingHandlersFactories { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.Func<Microsoft.Extensions.Logging.ILogger, IApizrOptionsBase, System.Net.Http.DelegatingHandler>> |
HttpClientFactory
HttpClient factory
Declaration
public Func<HttpMessageHandler, Uri, HttpClient> HttpClientFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.Net.Http.HttpMessageHandler, System.Uri, System.Net.Http.HttpClient> |
HttpClientHandlerFactory
HttpClientHandler factory
Declaration
public Func<HttpClientHandler> HttpClientHandlerFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.Net.Http.HttpClientHandler> |
HttpTracerModeFactory
Http traffic tracing mode factory
Declaration
public Func<HttpTracerMode> HttpTracerModeFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<HttpTracerMode> |
LoggerFactory
The Logger factory
Declaration
public Func<ILoggerFactory, string, ILogger> LoggerFactory { get; }
Property Value
Type | Description |
---|---|
System.Func<Microsoft.Extensions.Logging.ILoggerFactory, System.String, Microsoft.Extensions.Logging.ILogger> |
LoggerFactoryFactory
The LoggerFactory factory (I know, I know...)
Declaration
public Func<ILoggerFactory> LoggerFactoryFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<Microsoft.Extensions.Logging.ILoggerFactory> |
LogLevelsFactory
Log levels factory
Declaration
public Func<LogLevel[]> LogLevelsFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<Microsoft.Extensions.Logging.LogLevel[]> |
MappingHandlerFactory
Mapping handler factory
Declaration
public Func<IMappingHandler> MappingHandlerFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<IMappingHandler> |
PolicyRegistryFactory
Policy registry factory
Declaration
public Func<IReadOnlyPolicyRegistry<string>> PolicyRegistryFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<Polly.Registry.IReadOnlyPolicyRegistry<System.String>> |
RefitSettingsFactory
Refit settings factory
Declaration
public Func<RefitSettings> RefitSettingsFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<Refit.RefitSettings> |
TrafficVerbosityFactory
Http traffic tracing verbosity factory
Declaration
public Func<HttpMessageParts> TrafficVerbosityFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<HttpMessageParts> |