Table of Contents

Class ApizrProperOptionsBase

Namespace
Apizr.Configuring.Proper
Assembly
Apizr.dll

Options available at proper level for both static and extended registrations

public abstract class ApizrProperOptionsBase : ApizrGlobalSharedRegistrationOptionsBase, IApizrProperOptionsBase, IApizrSharedRegistrationOptionsBase, IApizrGlobalSharedRegistrationOptionsBase, IApizrGlobalSharedOptionsBase
Inheritance
ApizrProperOptionsBase
Implements
Derived
Inherited Members

Constructors

ApizrProperOptionsBase(IApizrGlobalSharedRegistrationOptionsBase, Type, Type, TypeInfo, string, string, HttpTracerMode?, HttpMessageParts?, ResiliencePipelineAttributeBase[], ResiliencePipelineAttributeBase[], CacheAttribute, CacheAttribute, Func<string, bool>, params LogLevel[])

The proper options constructor

protected ApizrProperOptionsBase(IApizrGlobalSharedRegistrationOptionsBase sharedOptions, Type webApiType, Type crudApiEntityType, TypeInfo typeInfo, string baseAddress, string basePath, HttpTracerMode? httpTracerMode, HttpMessageParts? trafficVerbosity, ResiliencePipelineAttributeBase[] commonResiliencePipelineAttributes, ResiliencePipelineAttributeBase[] properResiliencePipelineAttributes, CacheAttribute commonCacheAttribute, CacheAttribute properCacheAttribute, Func<string, bool> shouldRedactHeaderValue = null, params LogLevel[] logLevels)

Parameters

sharedOptions IApizrGlobalSharedRegistrationOptionsBase

The shared options

webApiType Type

The web api type

crudApiEntityType Type

The crud api entity type if any

typeInfo TypeInfo

The type info

baseAddress string

The web api base address

basePath string

The web api base path

httpTracerMode HttpTracerMode?

The http tracer mode

trafficVerbosity HttpMessageParts?

The traffic verbosity

commonResiliencePipelineAttributes ResiliencePipelineAttributeBase[]

Global resilience pipelines

properResiliencePipelineAttributes ResiliencePipelineAttributeBase[]

Specific resilience pipelines

commonCacheAttribute CacheAttribute

Global caching options

properCacheAttribute CacheAttribute

Specific caching options

shouldRedactHeaderValue Func<string, bool>

Headers to redact value

logLevels LogLevel[]

The log levels

Properties

CrudApiEntityType

Crud api entity type if any

public Type CrudApiEntityType { get; }

Property Value

Type

IsCrudApi

True if it's a CRUD api

public bool IsCrudApi { get; }

Property Value

bool

Logger

The logger instance

public ILogger Logger { get; protected set; }

Property Value

ILogger

RequestNames

Web api request names

public IReadOnlyList<string> RequestNames { get; }

Property Value

IReadOnlyList<string>

RequestOptionsBuilders

The request options builders

public IDictionary<string, Action<IApizrRequestOptionsBuilder>> RequestOptionsBuilders { get; }

Property Value

IDictionary<string, Action<IApizrRequestOptionsBuilder>>

TypeInfo

Web api interface or Crud api entity class type info

public TypeInfo TypeInfo { get; }

Property Value

TypeInfo

WebApiType

Web api interface type

public Type WebApiType { get; }

Property Value

Type