/// <summary>
        /// Initializes a new instance of the <see cref="DownloadVisitor"/> class.
        /// </summary>
        /// <param name="encoding">The encoding used to read and write strings.</param>
        public DownloadVisitor(Encoding encoding)
        {
            // You should use an IoC container to do this.
            TcpReaderFactory = new TcpReaderFactory();

            CurrentEncoding = encoding;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="DownloadVisitor"/> class.
        /// </summary>
        /// <param name="encoding">The encoding used to read and write strings.</param>
        public DownloadVisitor(Encoding encoding)
        {
            // You should use an IoC container to do this.
            TcpReaderFactory = new TcpReaderFactory();

            CurrentEncoding = encoding;
        }
Example #3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ExpandResultsVisitor"/> class.
        /// </summary>
        /// <param name="encoding">The encoding used to read and write strings.</param>
        public ExpandResultsVisitor(Encoding encoding)
        {
            TcpReaderFactory = new TcpReaderFactory();

            Encoding = encoding;
        }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DownloadVisitor"/> class.
 /// </summary>
 public DownloadVisitor()
 {
     TcpReaderFactory = new TcpReaderFactory();
 }
Example #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IanaServerLookup"/> class.
 /// </summary>
 public IanaServerLookup()
 {
     TcpReaderFactory = new TcpReaderFactory();
 }
Example #6
0
        /// <summary>
        /// Initializes a new instance of the <see cref="DownloadVisitor"/> class.
        /// </summary>
        /// <param name="encoding">The encoding used to read and write strings.</param>
        public DownloadVisitor(Encoding encoding)
        {
            TcpReaderFactory = new TcpReaderFactory();

            Encoding = encoding;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="ExpandResultsVisitor"/> class.
        /// </summary>
        /// <param name="encoding">The encoding used to read and write strings.</param>
        public ExpandResultsVisitor(Encoding encoding)
        {
            TcpReaderFactory = new TcpReaderFactory();

            CurrentEncoding = encoding;
        }