20 lines
788 B
C#
20 lines
788 B
C#
using System.Configuration;
|
|
|
|
namespace Kreta.Client.Eugyintezes.Configuration
|
|
{
|
|
public class EugyintezesClientConfiguration : ConfigurationSection, IEugyintezesClientConfiguration
|
|
{
|
|
[ConfigurationProperty(nameof(BaseUrl), IsRequired = true)]
|
|
public string BaseUrl => (string)base[nameof(BaseUrl)];
|
|
|
|
[ConfigurationProperty(nameof(ApiKey), IsRequired = true)]
|
|
public string ApiKey => (string)base[nameof(ApiKey)];
|
|
|
|
[ConfigurationProperty(nameof(IsUzenetekEnable), IsRequired = true)]
|
|
public bool IsUzenetekEnable => (bool)base[nameof(IsUzenetekEnable)];
|
|
|
|
[ConfigurationProperty(nameof(UzenetekFrequencyRate), IsRequired = true)]
|
|
public int UzenetekFrequencyRate => (int)base[nameof(UzenetekFrequencyRate)];
|
|
}
|
|
}
|