init
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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)];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user