Files
netch/Netch/Models/TagItem.cs
2022-03-22 14:20:23 +08:00

18 lines
287 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; }
}