删除「ParamDefineCollection」中无用的私有字段

This commit is contained in:
zengwenjie
2025-09-24 16:34:07 +08:00
parent 2db765f42d
commit cc2e7e6ef0
3 changed files with 2 additions and 3 deletions

View File

@@ -57,7 +57,7 @@ namespace Deedy.Activity
Description = "运行时需要的参数,自定义参数尽量不要放置到此分组中...",
InitialSort = int.MinValue
};
internal static ParamGroupAttribute CreateWorkingParams() => new()
internal static ParamGroupAttribute CreateWorkingGroup() => new()
{
GroupName = WorkingParams,
Description = "动作执行时的工作逻辑所需要的参数",

View File

@@ -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)
{

View File

@@ -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)