13 lines
339 B
C#
13 lines
339 B
C#
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;
|
|
}
|
|
}
|
|
}
|