42 lines
854 B
C#
42 lines
854 B
C#
|
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>>("系统.插件配置");
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
}
|