18 lines
614 B
C#
18 lines
614 B
C#
using System.Configuration;
|
|
using Kreta.Core.Configuratiaton.Interface;
|
|
|
|
namespace Kreta.Core.Configuratiaton
|
|
{
|
|
public class KozpontiKretaConfiguration : ConfigurationSection, IKozpontiKretaConfiguration
|
|
{
|
|
[ConfigurationProperty(nameof(KtrUrl), IsRequired = true)]
|
|
public string KtrUrl => (string)this[nameof(KtrUrl)];
|
|
|
|
[ConfigurationProperty(nameof(KgrUrl), IsRequired = true)]
|
|
public string KgrUrl => (string)this[nameof(KgrUrl)];
|
|
|
|
[ConfigurationProperty(nameof(ApiKey), IsRequired = true)]
|
|
public string ApiKey => (string)this[nameof(ApiKey)];
|
|
}
|
|
}
|