/// <summary> /// Initializes a new instance of the <see cref="CommandReaderBase<TCommandInfo>"/> class. /// </summary> /// <param name="previousCommandReader">The previous command reader.</param> public CommandReaderBase(CommandReaderBase <TCommandInfo> previousCommandReader) { AppServer = previousCommandReader.AppServer; m_BufferSegments = previousCommandReader.BufferSegments; }
public TerminatorCommandReader(CommandReaderBase <StringCommandInfo> previousCommandReader) : base(previousCommandReader) { }
/// <summary> /// Initializes the instance with the specified previous command reader. /// </summary> /// <param name="previousCommandReader">The previous command reader.</param> protected void Initialize(CommandReaderBase <TCommandInfo> previousCommandReader) { AppServer = previousCommandReader.AppServer; m_BufferSegments = previousCommandReader.BufferSegments; }