/// <summary> /// Initializes a new instance of the <see cref="MimeKit.Text.FlowedToHtml"/> class. /// </summary> /// <remarks> /// Creates a new flowed text to HTML converter. /// </remarks> public FlowedToHtml () { scanner = new UrlScanner (); for (int i = 0; i < UrlPatterns.Count; i++) scanner.Add (UrlPatterns[i]); }
public void Setup () { scanner = new UrlScanner (); for (int i = 0; i < TextConverter.UrlPatterns.Count; i++) scanner.Add (TextConverter.UrlPatterns[i]); }
/// <summary> /// Initializes a new instance of the <see cref="MimeKit.Text.FlowedToHtml"/> class. /// </summary> /// <remarks> /// Creates a new flowed text to HTML converter. /// </remarks> public FlowedToHtml() { scanner = new UrlScanner(); for (int i = 0; i < UrlPatterns.Count; i++) { scanner.Add(UrlPatterns[i]); } }