mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-02 03:57:38 +08:00
34 lines
705 B
C#
34 lines
705 B
C#
using System.Collections.Generic;
|
|
|
|
namespace AntDesign
|
|
{
|
|
public record struct TransferItem
|
|
{
|
|
public string Key { get; set; } = "";
|
|
|
|
public string Title { get; set; } = "";
|
|
|
|
public string Description { get; set; } = "";
|
|
|
|
public bool Disabled { get; set; } = false;
|
|
|
|
private readonly IDictionary<string, object> _properties = new Dictionary<string, object>();
|
|
|
|
public TransferItem()
|
|
{
|
|
}
|
|
|
|
public object this[string index]
|
|
{
|
|
get
|
|
{
|
|
return _properties[index];
|
|
}
|
|
set
|
|
{
|
|
_properties[index] = value;
|
|
}
|
|
}
|
|
}
|
|
}
|