IW4M-Admin/SharedLibraryCore/Helpers/MessageToken.cs

21 lines
422 B
C#
Raw Normal View History

using System;
2018-04-08 02:44:42 -04:00
namespace SharedLibraryCore.Helpers
{
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();
}
}
}