ant-design-blazor/components/select/internal/ValueLabel.cs
ElDiddi 41077bc2fb refactor(module: select): completely new (#800)
* select-rewritten

select-rewritten

* modul: select - update 1

* select-update2

* select-update3

* select-update 4

* feat: append label tag & auto tokenization

* fix: conflict in drpdown demo

Co-authored-by: Lars Diederich <diederich@evodata.de>
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-11-27 13:13:26 +08:00

13 lines
296 B
C#

using System.Text.Json.Serialization;
namespace AntDesign.Select.Internal
{
internal class ValueLabel<TItemValue>
{
[JsonPropertyName("value")]
public TItemValue Value { get; set; }
[JsonPropertyName("label")]
public string Label { get; set; }
}
}