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
IApizrGlobalSharedRegistrationOptionsBaseThe shared options
webApiType
TypeThe web api type
crudApiEntityType
TypeThe crud api entity type if any
typeInfo
TypeInfoThe type info
baseAddress
stringThe web api base address
basePath
stringThe 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
CacheAttributeGlobal caching options
properCacheAttribute
CacheAttributeSpecific 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
IsCrudApi
True if it's a CRUD api
public bool IsCrudApi { get; }
Property Value
Logger
The logger instance
public ILogger Logger { get; protected set; }
Property Value
RequestNames
Web api request names
public IReadOnlyList<string> RequestNames { get; }
Property Value
RequestOptionsBuilders
The request options builders
public IDictionary<string, Action<IApizrRequestOptionsBuilder>> RequestOptionsBuilders { get; }
Property Value
TypeInfo
Web api interface or Crud api entity class type info
public TypeInfo TypeInfo { get; }
Property Value
WebApiType
Web api interface type
public Type WebApiType { get; }