init
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using System.Configuration;
|
||||
|
||||
namespace Kreta.Core.Logic
|
||||
{
|
||||
public static class ConfigurationLogic
|
||||
{
|
||||
public static T GetConfigurationSection<T>(string sectionName) where T : ConfigurationSection
|
||||
{
|
||||
T result = (T)ConfigurationManager.GetSection(sectionName);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user