增加Prism 框架

This commit is contained in:
chfei committed 2026-08-31 16:28:23 +08:00
1 parent 2cd6b8db86
commit 726eb6de16
99 files changed
+12527

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
namespace MAX.Core.Commons;
/// <summary>
/// 公共Value
/// </summary>
/// <typeparam name="TValue"></typeparam>
public class CommonValue<TValue>
{
public CommonValue() { }
public CommonValue(TValue value)
{
Value = value;
}
public TValue Value { get; set; }
}
/// <summary>
/// 公共TextValue
/// </summary>
/// <typeparam name="TValue"></typeparam>
public class CommonTextValue<TValue> : CommonValue<TValue>
{
public string Text { get; set; }
}
/// <summary>
/// 公共TextValue
/// </summary>
public class CommonTextValue : CommonTextValue<string>
{
}
/// <summary>
/// 默认公共键值对 Key Value
/// </summary>
public class CommonKeyValue : CommonValue<string>
{
public string Key { get; set; }
}