Class ApizrOptions<TWebApi>
Options available for static registrations
Implements
IApizrOptions<TWebApi>
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<TWebApi> : IApizrOptions<TWebApi>, IApizrOptionsBase, IApizrCommonOptionsBase, IApizrProperOptionsBase, IApizrSharedOptionsBase
Type Parameters
Name | Description |
---|---|
TWebApi |
Constructors
ApizrOptions(IApizrOptionsBase)
The options constructor
Declaration
public ApizrOptions(IApizrOptionsBase apizrOptions)
Parameters
Type | Name | Description |
---|---|---|
IApizrOptionsBase | apizrOptions | The base options |
Fields
Options
The options
Declaration
protected readonly IApizrOptionsBase Options
Field Value
Type | Description |
---|---|
IApizrOptionsBase |
Properties
BaseAddress
Base address
Declaration
public string BaseAddress { get; }
Property Value
Type | Description |
---|---|
System.String |
BasePath
Base path
Declaration
public string BasePath { get; }
Property Value
Type | Description |
---|---|
System.String |
BaseUri
Base address
Declaration
public Uri BaseUri { get; }
Property Value
Type | Description |
---|---|
System.Uri |
HttpTracerMode
Http traffic tracing mode
Declaration
public HttpTracerMode HttpTracerMode { get; }
Property Value
Type | Description |
---|---|
HttpTracerMode |
Logger
The logger instance
Declaration
public ILogger Logger { get; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Logging.ILogger |
LogLevels
Log levels while writing
Declaration
public LogLevel[] LogLevels { get; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Logging.LogLevel[] |
PolicyRegistryKeys
Policy keys from the registry
Declaration
public string[] PolicyRegistryKeys { get; }
Property Value
Type | Description |
---|---|
System.String[] |
RefitSettings
Refit settings
Declaration
public RefitSettings RefitSettings { get; }
Property Value
Type | Description |
---|---|
Refit.RefitSettings |
TrafficVerbosity
Http traffic tracing verbosity
Declaration
public HttpMessageParts TrafficVerbosity { get; }
Property Value
Type | Description |
---|---|
HttpMessageParts |
WebApiType
Web api interface type
Declaration
public Type WebApiType { get; }
Property Value
Type | Description |
---|---|
System.Type |