old_flsystem/类库/Api.Framework/Config/OthercONFIG.cs

42 lines
854 B
C#
Raw Permalink Normal View History

2022-09-20 03:10:29 +00:00
using Api.Framework.SDK;
using Api.Framework.Tools;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Api.Framework.Config
{
/// <summary>
/// 系统其他配置
/// </summary>
[Config(Name = "系统.其他设置")]
public class OtherConfig
{
private List<string> _plugin;
/// <summary>
/// 插件顺序
/// </summary>
public List<string> Plugins
{
get
{
_plugin = _plugin.Distinct().ToList();
return _plugin;
}
set
{
_plugin = value;
}
}
public OtherConfig()
{
this.Plugins = Util.Read<List<String>>("系统.插件配置");
}
}
}