IW4M-Admin/SharedLibrary/MessageToken.cs

21 lines
410 B
C#
Raw Normal View History

using System;
namespace SharedLibrary
{
public class MessageToken
{
public string Name { get; private set; }
Func<string> Value;
public MessageToken(string Name, Func<string> Value)
{
this.Name = Name;
this.Value = Value;
}
public override string ToString()
{
return Value().ToString();
}
}
}