21 lines
449 B
C#
Raw Normal View History

using System;
2018-04-08 01:44:42 -05:00
namespace SharedLibraryCore.Helpers
{
public class MessageToken
{
public string Name { get; private set; }
Func<Server, string> Value;
public MessageToken(string Name, Func<Server, string> Value)
{
this.Name = Name;
this.Value = Value;
}
public string Process(Server server)
{
return this.Value(server);
}
}
}