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