init
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using System.Configuration;
|
||||
|
||||
namespace Kreta.Core
|
||||
{
|
||||
public class KretaJobConfig : ConfigurationSection
|
||||
{
|
||||
[ConfigurationProperty(nameof(IsEmailEnabled), IsRequired = true)]
|
||||
public bool IsEmailEnabled => (bool)this[nameof(IsEmailEnabled)];
|
||||
|
||||
[ConfigurationProperty(nameof(DefaultEmail), IsRequired = true)]
|
||||
public string DefaultEmail => (string)this[nameof(DefaultEmail)];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user