Esempio n. 1
0
		/// <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]);
		}
Esempio n. 2
0
		public void Setup ()
		{
			scanner = new UrlScanner ();

			for (int i = 0; i < TextConverter.UrlPatterns.Count; i++)
				scanner.Add (TextConverter.UrlPatterns[i]);
		}
Esempio n. 3
0
        /// <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]);
            }
        }