Class ApizrSettings
Describing how Apizr should be configured. Here are only the common configurations.
public class ApizrSettings
- Inheritance
-
ApizrSettings
- Inherited Members
Properties
WithCacheProvider
Library to use for cache handling (default: None) Options:
- None
- Akavache
- MonkeyCache
- InMemory (Microsoft.Extensions.Caching.Memory)
- Distributed (Microsoft.Extensions.Caching.Distributed)
[JsonConverter(typeof(JsonStringEnumConverter))]
public CacheProviderType WithCacheProvider { get; set; }
Property Value
WithFileTransfer
Set it to true to manage file transfers (default: false)
public bool WithFileTransfer { get; set; }
Property Value
WithMappingProvider
Library to use for data mapping handling (default: None) Options:
- None
- AutoMapper
- Mapster
[JsonConverter(typeof(JsonStringEnumConverter))]
public MappingProviderType WithMappingProvider { get; set; }
Property Value
WithMediation
Set it to true to handle request with MediatR (default: false)
public bool WithMediation { get; set; }
Property Value
WithOptionalMediation
Set it to true to handle request with MediatR and Optional result (default: false)
public bool WithOptionalMediation { get; set; }
Property Value
WithPriority
Set it to true to handle request with priority (default: false)
public bool WithPriority { get; set; }
Property Value
WithRegistrationHelper
Set it to true to generate an Apizr registration helper ready to use (default: false). Please note that it will generate an extended or static helper depending on DependencyInjectionSettings property value.
public bool WithRegistrationHelper { get; set; }
Property Value
WithRequestOptions
Set it to true to include an Apizr Request Options parameter into all api methods and get all the Apizr goodness (default: true)
public bool WithRequestOptions { get; set; }