mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
539 B
15 lines
539 B
namespace Volo.Abp.Settings
|
|
{
|
|
public class TestSettingDefinitionProvider : SettingDefinitionProvider
|
|
{
|
|
public override void Define(ISettingDefinitionContext context)
|
|
{
|
|
context.Add(
|
|
new SettingDefinition(TestSettingNames.TestSettingWithoutDefaultValue),
|
|
new SettingDefinition(TestSettingNames.TestSettingWithDefaultValue, "default-value"),
|
|
new SettingDefinition(TestSettingNames.TestSettingEncrypted, isEncrypted: true)
|
|
);
|
|
}
|
|
}
|
|
}
|