Files
netch/Netch/Models/TagItem.cs
2021-03-27 17:40:18 +08:00

19 lines
333 B
C#

using Netch.Utils;
namespace Netch.Models
{
internal class TagItem<T>
{
private readonly string _text;
public TagItem(T value, string text)
{
_text = text;
Value = value;
}
public string Text => i18N.Translate(_text);
public T Value { get; }
}
}