2021-12-05 20:39:46 +01:00
|
|
|
|
namespace DML.Application.Helper
|
2018-06-15 18:32:18 +02:00
|
|
|
|
{
|
|
|
|
|
internal class IdentifiedString<T>
|
|
|
|
|
{
|
|
|
|
|
internal IdentifiedString(T id, string caption)
|
|
|
|
|
{
|
|
|
|
|
Id = id;
|
|
|
|
|
Caption = caption;
|
|
|
|
|
}
|
|
|
|
|
|
2021-12-05 20:39:46 +01:00
|
|
|
|
internal T Id { get; set; }
|
|
|
|
|
internal string Caption { get; set; }
|
|
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
|
{
|
|
|
|
|
return Caption;
|
|
|
|
|
}
|
2018-06-15 18:32:18 +02:00
|
|
|
|
}
|
2021-12-05 20:39:46 +01:00
|
|
|
|
}
|