/// <summary> /// Clears internal references to the underlying <see cref="T:System.IO.TextWriter" /> /// and other variables. /// </summary> /// <remarks> /// <para> /// Subclasses can override this method for an alternate closing behavior. /// </para> /// </remarks> protected virtual void Reset() { WriteFooterAndCloseWriter(); m_qtw = null; }
/// <summary> /// Sets the quiet writer being used. /// </summary> /// <param name="writer">the writer over the file stream that has been opened for writing</param> /// <remarks> /// <para> /// This method can be overridden by sub classes that want to /// wrap the <see cref="TextWriter"/> in some way. /// </para> /// </remarks> virtual protected void SetQWForFiles(TextWriter writer) { QuietWriter = new QuietTextWriter(writer, ErrorHandler); }
protected virtual void Reset() { this.WriteFooterAndCloseWriter(); this.m_qtw = null; }