Class AbpConfigurationBuilderOptions
- Namespace
- Microsoft.Extensions.Configuration
- Assembly
- Volo.Abp.Core.dll
public class AbpConfigurationBuilderOptions
- Inheritance
-
AbpConfigurationBuilderOptions
- Inherited Members
- Extension Methods
Constructors
AbpConfigurationBuilderOptions()
public AbpConfigurationBuilderOptions()
Properties
BasePath
Base path to read the configuration file indicated by FileName.
public string? BasePath { get; set; }
Property Value
CommandLineArgs
Command line arguments.
public string[]? CommandLineArgs { get; set; }
Property Value
- string[]
EnvironmentName
Environment name. Generally used "Development", "Staging" or "Production".
public string? EnvironmentName { get; set; }
Property Value
EnvironmentVariablesPrefix
Prefix for the environment variables.
public string? EnvironmentVariablesPrefix { get; set; }
Property Value
FileName
Default value: "appsettings".
public string FileName { get; set; }
Property Value
Optional
Whether the file is optional, Default value: true.
public bool Optional { get; set; }
Property Value
ReloadOnChange
Whether the configuration should be reloaded if the file changes, Default value: true.
public bool ReloadOnChange { get; set; }
Property Value
UserSecretsAssembly
Used to set assembly which is used to get the user secret id for the application. Use this or UserSecretsId (higher priority)
public Assembly? UserSecretsAssembly { get; set; }
Property Value
UserSecretsId
Used to set user secret id for the application. Use this (higher priority) or UserSecretsAssembly
public string? UserSecretsId { get; set; }