init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,31 @@
|
|||
using System.Configuration;
|
||||
|
||||
namespace Kreta.Core.FeatureToggle.Configuration
|
||||
{
|
||||
[ConfigurationCollection(typeof(SimpleFeatureConfiguration))]
|
||||
public class SimpleFeatureConfigurationCollection : ConfigurationElementCollection
|
||||
{
|
||||
protected override string ElementName => nameof(SimpleFeature);
|
||||
|
||||
protected override ConfigurationElement CreateNewElement() => new SimpleFeatureConfiguration();
|
||||
|
||||
protected override object GetElementKey(ConfigurationElement element) => ((SimpleFeatureConfiguration)element).Name;
|
||||
|
||||
public override ConfigurationElementCollectionType CollectionType => ConfigurationElementCollectionType.BasicMapAlternate;
|
||||
}
|
||||
|
||||
public class ExtendedSendMobileNotification : ConfigurationElement
|
||||
{
|
||||
[ConfigurationProperty(nameof(CustomCronExpression))]
|
||||
public string CustomCronExpression => base[nameof(CustomCronExpression)].ToString();
|
||||
|
||||
[ConfigurationProperty(nameof(SendItervalInMinute))]
|
||||
public string SendItervalInMinute => base[nameof(SendItervalInMinute)].ToString();
|
||||
|
||||
[ConfigurationProperty(nameof(RunningIntervalStartHour))]
|
||||
public string RunningIntervalStartHour => base[nameof(RunningIntervalStartHour)].ToString();
|
||||
|
||||
[ConfigurationProperty(nameof(RunningIntervalEndHour))]
|
||||
public string RunningIntervalEndHour => base[nameof(RunningIntervalEndHour)].ToString();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue