2020-10-24 13:39:02 +08:00
|
|
|
|
using System.Collections.Generic;
|
2020-05-26 15:21:47 +08:00
|
|
|
|
|
2020-05-29 00:33:49 +08:00
|
|
|
|
namespace AntDesign
|
2020-05-26 15:21:47 +08:00
|
|
|
|
{
|
2023-01-09 15:00:32 +08:00
|
|
|
|
public record struct TransferItem
|
2020-05-26 15:21:47 +08:00
|
|
|
|
{
|
|
|
|
|
public string Key { get; set; } = "";
|
|
|
|
|
|
|
|
|
|
public string Title { get; set; } = "";
|
|
|
|
|
|
|
|
|
|
public string Description { get; set; } = "";
|
|
|
|
|
|
2023-01-09 15:00:32 +08:00
|
|
|
|
public bool Disabled { get; set; } = false;
|
2020-05-26 15:21:47 +08:00
|
|
|
|
|
|
|
|
|
private readonly IDictionary<string, object> _properties = new Dictionary<string, object>();
|
|
|
|
|
|
2023-01-09 15:00:32 +08:00
|
|
|
|
public TransferItem()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2020-05-26 15:21:47 +08:00
|
|
|
|
public object this[string index]
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return _properties[index];
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_properties[index] = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|