增加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

+35
View File
@@ -0,0 +1,35 @@
using System.Text;
namespace MAX.Framework.Commons
{
public struct KeyValue
{
public KeyValue(string key, string value)
{
Key = key;
Value = value;
}
public string Key { get; set; }
public string Value { get; set; }
public override string ToString()
{
StringBuilder stringBuilder = new StringBuilder();
stringBuilder.Append('[');
if (Key != null)
{
stringBuilder.Append(Key.ToString());
}
stringBuilder.Append(", ");
if (Value != null)
{
stringBuilder.Append(Value.ToString());
}
stringBuilder.Append(']');
return stringBuilder.ToString();
}
}
}