Table of Contents

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

IDictionary<ApizrConfigurationSource, CacheAttributeBase>

ExceptionHandlers

Catching potential exception if defined

public IList<IApizrExceptionHandler> ExceptionHandlers { get; protected set; }

Property Value

IList<IApizrExceptionHandler>

HandlersParameters

Parameters passed through delegating handlers

public IDictionary<string, object> HandlersParameters { get; protected set; }

Property Value

IDictionary<string, object>

HttpTracerMode

Http traffic tracing mode

public HttpTracerMode HttpTracerMode { get; }

Property Value

HttpTracerMode

LetThrowOnHandledException

Let throw potential exception even if it's handled (default: true)

public bool LetThrowOnHandledException { get; }

Property Value

bool

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

TimeSpan?

RequestTimeout

The request timeout (each request try)

public TimeSpan? RequestTimeout { get; }

Property Value

TimeSpan?

ResiliencePipelineOptions

Resilience pipeline keys from the registry

public IDictionary<ApizrConfigurationSource, ResiliencePipelineAttributeBase[]> ResiliencePipelineOptions { get; }

Property Value

IDictionary<ApizrConfigurationSource, ResiliencePipelineAttributeBase[]>

ShouldRedactHeaderValue

The Func<T, TResult> which determines whether to redact the HTTP header value before logging.

public Func<string, bool> ShouldRedactHeaderValue { get; }

Property Value

Func<string, bool>

TrafficVerbosity

Http traffic tracing verbosity

public HttpMessageParts TrafficVerbosity { get; }

Property Value

HttpMessageParts