using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Future.Contract { /// /// 告知参数编辑器的行为 /// [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] public class ObjectEditorAttribute : Attribute { /// /// 参数编辑器的实现类型,默认不使用 /// public Type EditorType { get; set; } /// /// 参数编辑器的显示模式,默认为“嵌入式” /// public EViewShowMode ShowMode { get; set; } /// /// 是否允许自由添加参数 /// public bool AllowAddParameter { get; set; } } }