init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,19 @@
|
|||
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)];
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
namespace Kreta.Client.Eugyintezes.Configuration
|
||||
{
|
||||
public interface IEugyintezesClientConfiguration
|
||||
{
|
||||
string BaseUrl { get; }
|
||||
|
||||
string ApiKey { get; }
|
||||
|
||||
bool IsUzenetekEnable { get; }
|
||||
|
||||
int UzenetekFrequencyRate { get; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue