using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Future.Contract
{
///
/// 可以进行配置的对象的公共基类
///
public interface IConfigurableObject
{
///
/// 标题
///
string Title { get; }
///
/// 备注
///
string Remark { get; }
///
/// 是否允许追加参数
///
bool AllowAddParameter { get; }
///
/// 运行参数集合
///
List RuntimeParametersForDesigner { get; }
///
/// 自定义参数集合
///
ObservableCollection>> DynamicParametersForDesigner { get; }
///
/// 是否允许管理分组
///
bool AllowManageGroups { get; }
///
/// 可使用分组
///
List ParameterGroups { get; }
///
/// 变更分组名称
///
/// 新分组名称
/// 旧分组名称
/// 如果失败则返回原因
string RenameGroup(string newGroup, string oldGroup);
///
/// 删除分组
///
/// 要删除的分组名称
/// 如果失败则返回原因
string DeleteGroup(string grpupName);
}
}