Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

ITokenizer.cs

namespace Nop.Services.Messages;

/// 
/// Tokenizer
/// 
public partial interface ITokenizer
{
    /// 
    /// Replace all of the token key occurrences inside the specified template text with corresponded token values
    /// 
    /// The template with token keys inside
    /// The sequence of tokens to use
    /// The value indicating whether tokens should be HTML encoded
    /// Text with all token keys replaces by token value
    string Replace(string template, IEnumerable tokens, bool htmlEncode);
}