/// <summary> /// Create a new <see cref="ReplacementToken"/>. /// </summary> /// <param name="token">The string marking where the token should be replaced.</param> /// <param name="getReplacementText">Delegate to return the value that replaces the token.</param> public ReplacementToken(string token, ReplacementTextDelegate getReplacementText) { this.token = token; this.getReplacementText = getReplacementText; }
/// <summary> /// Create a new <see cref="ReplacementToken"/>. /// </summary> /// <param name="token">The string marking where the token should be replaced.</param> /// <param name="getReplacementText">Delegate to return the value that replaces the token.</param> public ReplacementToken(string token, ReplacementTextDelegate getReplacementText) { this.token = token; this.getReplacementText = getReplacementText; }