063449d9c4
added reset stats commands broadcast for some commands
25 lines
512 B
C#
25 lines
512 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
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();
|
|
}
|
|
}
|
|
}
|