16 lines
564 B
C#
16 lines
564 B
C#
using System.Configuration;
|
|
|
|
namespace Kreta.Core
|
|
{
|
|
public class IktatoServiceConfiguration : ConfigurationSection
|
|
{
|
|
[ConfigurationProperty(nameof(EndpointAddress), IsRequired = true)]
|
|
public string EndpointAddress => (string)this[nameof(EndpointAddress)];
|
|
|
|
[ConfigurationProperty(nameof(Username), IsRequired = true)]
|
|
public string Username => (string)this[nameof(Username)];
|
|
|
|
[ConfigurationProperty(nameof(Password), IsRequired = true)]
|
|
public string Password => (string)this[nameof(Password)];
|
|
}
|
|
}
|