删除「ParamDefineCollection」中无用的私有字段
This commit is contained in:
@@ -57,7 +57,7 @@ namespace Deedy.Activity
|
||||
Description = "运行时需要的参数,自定义参数尽量不要放置到此分组中...",
|
||||
InitialSort = int.MinValue
|
||||
};
|
||||
internal static ParamGroupAttribute CreateWorkingParams() => new()
|
||||
internal static ParamGroupAttribute CreateWorkingGroup() => new()
|
||||
{
|
||||
GroupName = WorkingParams,
|
||||
Description = "动作执行时的工作逻辑所需要的参数",
|
||||
|
||||
@@ -15,7 +15,6 @@ namespace Deedy.Activity
|
||||
Target = typeof(ParamDefineCollection), Name = "参数定义集合", Type = nameof(ParamDefineCollection))]
|
||||
public class ParamDefineCollection : InitialSortedObservableCollection<ParamDefineAttribute>
|
||||
{
|
||||
private readonly SortedList<int, ParamDefineAttribute> _SoredList = new();
|
||||
internal ParamDefineCollection() { }
|
||||
public bool TryGetParamDefine(string name, [NotNull] out ParamDefineAttribute value)
|
||||
{
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Deedy.Activity
|
||||
internal ParamGroupCollection()
|
||||
{
|
||||
this.Add(ParamGroupAttribute.CreateRuntimeGroup());
|
||||
this.Add(ParamGroupAttribute.CreateWorkingParams());
|
||||
this.Add(ParamGroupAttribute.CreateWorkingGroup());
|
||||
this.Add(_DefaultGroup);
|
||||
}
|
||||
public override void Add(ParamGroupAttribute item)
|
||||
|
||||
Reference in New Issue
Block a user