2019-10-25 21:26:18 +08:00

27 lines
569 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;
namespace ShadowEditor.Server.Helpers
{
/// <summary>
/// 配置管理器
/// </summary>
public sealed class ConfigHelper
{
/// <summary>
/// 是否开启权限
/// </summary>
public static bool EnableAuthority
{
get
{
return ConfigurationManager.AppSettings["EnableAuthority"] == "true";
}
}
}
}