重构反射构建组件,添加材质反射组件

This commit is contained in:
2026-07-25 21:38:19 +08:00
parent f3672df6a7
commit b1636d5932
22 changed files with 1444 additions and 340 deletions
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Reflection;
namespace XericUI.ReflectionUIGenerator
{
@@ -20,6 +19,12 @@ namespace XericUI.ReflectionUIGenerator
/// <summary>写入值到数据源的委托</summary>
public Action<object> WriteAction { get; set; }
/// <summary>
/// 值访问器引用(在 BuildMDVM 时创建,供 UI 组件使用)
/// 提供 ValueType / IsReadOnly / FormatDisplay 等扩展能力
/// </summary>
public IAvrgValueAccessor Accessor { get; set; }
/// <summary>
/// 拆分属性子绑定列表
/// 由 [XuiavrgSplit] 特性展开生成,每个子绑定对应一个拆分后的子属性