log4net SDK Documentation - Microsoft .NET Framework 4.0

TextWriterAdapter Members

TextWriterAdapter overview

Public Instance Properties

Encoding The Encoding in which the output is written
FormatProvider Gets an object that controls formatting
NewLine Gets or sets the line terminator string used by the TextWriter

Public Instance Methods

Close Closes the writer and releases any system resources associated with the writer
CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Dispose (inherited from TextWriter)Overloaded. Releases all resources used by the TextWriter object.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush Flushes any buffered output
GetHashCode (inherited from Object) Serves as a hash function for a particular type.
GetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
ToString (inherited from Object) Returns a String that represents the current Object.
WriteOverloaded. Writes a character to the wrapped TextWriter
Write (inherited from TextWriter)Overloaded. Writes a character array to the text stream.
WriteLine (inherited from TextWriter)Overloaded. Writes a line terminator to the text stream.

Protected Instance Constructors

TextWriterAdapter Constructor Create an instance of TextWriterAdapter that forwards all messages to a TextWriter.

Protected Instance Fields

CoreNewLine (inherited from TextWriter) Stores the new line characters used for this TextWriter.

Protected Instance Properties

Writer Gets or sets the underlying TextWriter.

Protected Instance Methods

DisposeOverloaded. Dispose this writer
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from MarshalByRefObject)Overloaded. Creates a shallow copy of the current MarshalByRefObject object.
MemberwiseClone (inherited from Object)Overloaded. Creates a shallow copy of the current Object.

See Also

TextWriterAdapter Class | log4net.Util Namespace