25 lines
1.1 KiB
C#
25 lines
1.1 KiB
C#
using System.Configuration;
|
|
|
|
namespace Kreta.Core
|
|
{
|
|
public class UgyfelszolgalatConfig : ConfigurationSection, IUgyfelszolgalatConfig
|
|
{
|
|
[ConfigurationProperty(nameof(Url), IsRequired = true)]
|
|
public string Url => (string)this[nameof(Url)];
|
|
|
|
[ConfigurationProperty(nameof(ProjectKey), IsRequired = true)]
|
|
public string ProjectKey => (string)this[nameof(ProjectKey)];
|
|
|
|
[ConfigurationProperty(nameof(CommaSeparatedGroupIdFilters), IsRequired = true)]
|
|
public string CommaSeparatedGroupIdFilters => (string)this[nameof(CommaSeparatedGroupIdFilters)];
|
|
|
|
[ConfigurationProperty(nameof(IsFileUploadEnabled), IsRequired = true)]
|
|
public bool IsFileUploadEnabled => (bool)this[nameof(IsFileUploadEnabled)];
|
|
|
|
[ConfigurationProperty(nameof(JiraServiceApiUrl), IsRequired = true)]
|
|
public string JiraServiceApiUrl => (string)this[nameof(JiraServiceApiUrl)];
|
|
|
|
[ConfigurationProperty(nameof(JiraServiceApiKey), IsRequired = true)]
|
|
public string JiraServiceApiKey => (string)this[nameof(JiraServiceApiKey)];
|
|
}
|
|
}
|