增加项目,分层

This commit is contained in:
chfei committed 2026-09-11 19:11:12 +08:00
1 parent 6e995a5bdb
commit 0a3e5af6a9
234 files changed
+26994 -1

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();
}
}
}