5d1c9bd218
project renaming moved PluginImporter to SharedLibrary config writer abstracted for plugins
21 lines
418 B
C#
21 lines
418 B
C#
using System;
|
|
|
|
namespace SharedLibrary.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();
|
|
}
|
|
}
|
|
}
|