Exemple #1
0
 /// <summary>
 /// Replace all macros in message.
 /// </summary>
 /// <param name="message">Message to replace.</param>
 /// <param name="macroDelegate">Delegate executed to each string macro.</param>
 /// <returns></returns>
 public string ReplaceMacros(string message, MacroDelegate macroDelegate)
 {
     return(Macro.Replace(message, GetMacros(), macroDelegate));
 }