init
This commit is contained in:
25
Kreta.Core/UgyfelszolgalatConfig.cs
Normal file
25
Kreta.Core/UgyfelszolgalatConfig.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
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)];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user