automapper框架优化

This commit is contained in:
2026-06-10 16:05:35 +08:00
parent 5452857299
commit 2e07c0c446
43 changed files with 612 additions and 293 deletions
@@ -21,7 +21,7 @@ namespace UIShare.Converters
return allParameters;
// 过滤出类型匹配的参数
return allParameters.Cast<ParameterModel>()
return allParameters.Cast<ParameterVM>()
.Where(p => IsTypeMatch(currentParamType, p.Type))
.ToList();
}
@@ -5,7 +5,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
using static UIShare.UIViewModel.ParameterModel;
using static UIShare.UIViewModel.ParameterVM;
@@ -6,7 +6,7 @@ using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
using static UIShare.UIViewModel.ParameterModel;
using static UIShare.UIViewModel.ParameterVM;