Class ApizrGlobalSharedOptionsBase
- Namespace
- Apizr.Configuring.Shared
- Assembly
- Apizr.dll
Options available at every level for both static and extended registrations
public abstract class ApizrGlobalSharedOptionsBase : IApizrGlobalSharedOptionsBase
- Inheritance
-
ApizrGlobalSharedOptionsBase
- Implements
- Derived
- Inherited Members
Constructors
ApizrGlobalSharedOptionsBase(IApizrGlobalSharedOptionsBase)
protected ApizrGlobalSharedOptionsBase(IApizrGlobalSharedOptionsBase sharedOptions = null)
Parameters
sharedOptions
IApizrGlobalSharedOptionsBase
Properties
CacheOptions
The caching options to apply
public IDictionary<ApizrConfigurationSource, CacheAttributeBase> CacheOptions { get; }
Property Value
ExceptionHandlers
Catching potential exception if defined
public IList<IApizrExceptionHandler> ExceptionHandlers { get; protected set; }
Property Value
HandlersParameters
Parameters passed through delegating handlers
public IDictionary<string, object> HandlersParameters { get; protected set; }
Property Value
HttpTracerMode
Http traffic tracing mode
public HttpTracerMode HttpTracerMode { get; }
Property Value
LetThrowOnHandledException
Let throw potential exception even if it's handled (default: true)
public bool LetThrowOnHandledException { get; }
Property Value
LogLevels
Log levels while writing
public LogLevel[] LogLevels { get; }
Property Value
- LogLevel[]
OperationTimeout
The operation timeout (overall request tries)
public TimeSpan? OperationTimeout { get; }
Property Value
RequestTimeout
The request timeout (each request try)
public TimeSpan? RequestTimeout { get; }
Property Value
ResiliencePipelineOptions
Resilience pipeline keys from the registry
public IDictionary<ApizrConfigurationSource, ResiliencePipelineAttributeBase[]> ResiliencePipelineOptions { get; }
Property Value
ShouldRedactHeaderValue
The Func<T, TResult> which determines whether to redact the HTTP header value before logging.
public Func<string, bool> ShouldRedactHeaderValue { get; }
Property Value
TrafficVerbosity
Http traffic tracing verbosity
public HttpMessageParts TrafficVerbosity { get; }