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
sharedOptionsIApizrGlobalSharedRegistrationOptionsBaseThe shared options
webApiTypeTypeThe web api type
crudApiEntityTypeTypeThe crud api entity type if any
typeInfoTypeInfoThe type info
baseAddressstringThe web api base address
basePathstringThe web api base path
httpTracerModeHttpTracerMode?The http tracer mode
trafficVerbosityHttpMessageParts?The traffic verbosity
commonResiliencePipelineAttributesResiliencePipelineAttributeBase[]Global resilience pipelines
properResiliencePipelineAttributesResiliencePipelineAttributeBase[]Specific resilience pipelines
commonCacheAttributeCacheAttributeGlobal caching options
properCacheAttributeCacheAttributeSpecific caching options
shouldRedactHeaderValueFunc<string, bool>Headers to redact value
logLevelsLogLevel[]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; }