The CodeTemplateWriter type exposes the following members.

Constructors

  NameDescription
Public methodCodeTemplateWriter()()()()
Initializes a new instance of the CodeTemplateWriter class
Public methodCodeTemplateWriter(TextWriter)
Initializes a new instance of the CodeTemplateWriter class
Public methodCodeTemplateWriter(Encoding)
Initializes a new instance of the CodeTemplateWriter class
Public methodCodeTemplateWriter(TextWriter, String)
Initializes a new instance of the CodeTemplateWriter class

Methods

  NameDescription
Public methodAddTextWriter
Public methodClose (Overrides TextWriter..::..Close()()()().)
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose()()()()
Releases all resources used by the TextWriter object.
(Inherited from TextWriter.)
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the TextWriter and optionally releases the managed resources.
(Inherited from TextWriter.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFlush (Overrides TextWriter..::..Flush()()()().)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndent
Increments the IndentLevel by one.
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodOutputTabs
Public methodRemoveTextWriter
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnindent
Public methodWrite(Boolean) (Overrides TextWriter..::..Write(Boolean).)
Public methodWrite(Char) (Overrides TextWriter..::..Write(Char).)
Public methodWrite(array<Char>[]()[][]) (Overrides TextWriter..::..Write(array<Char>[]()[][]).)
Public methodWrite(Decimal) (Overrides TextWriter..::..Write(Decimal).)
Public methodWrite(Double) (Overrides TextWriter..::..Write(Double).)
Public methodWrite(Int32) (Overrides TextWriter..::..Write(Int32).)
Public methodWrite(Int64) (Overrides TextWriter..::..Write(Int64).)
Public methodWrite(Object) (Overrides TextWriter..::..Write(Object).)
Public methodWrite(Single) (Overrides TextWriter..::..Write(Single).)
Public methodWrite(String) (Overrides TextWriter..::..Write(String).)
Public methodWrite(UInt32) (Overrides TextWriter..::..Write(UInt32).)
Public methodWrite(UInt64) (Overrides TextWriter..::..Write(UInt64).)
Public methodWrite(String, Object) (Overrides TextWriter..::..Write(String, Object).)
Public methodWrite(String, array<Object>[]()[][]) (Overrides TextWriter..::..Write(String, array<Object>[]()[][]).)
Public methodWrite(array<Char>[]()[][], Int32, Int32) (Overrides TextWriter..::..Write(array<Char>[]()[][], Int32, Int32).)
Public methodWrite(String, Object, Object) (Overrides TextWriter..::..Write(String, Object, Object).)
Public methodWrite(String, Object, Object, Object) (Overrides TextWriter..::..Write(String, Object, Object, Object).)
Public methodWriteLine()()()() (Overrides TextWriter..::..WriteLine()()()().)
Public methodWriteLine(Boolean) (Overrides TextWriter..::..WriteLine(Boolean).)
Public methodWriteLine(Char) (Overrides TextWriter..::..WriteLine(Char).)
Public methodWriteLine(array<Char>[]()[][]) (Overrides TextWriter..::..WriteLine(array<Char>[]()[][]).)
Public methodWriteLine(Decimal) (Overrides TextWriter..::..WriteLine(Decimal).)
Public methodWriteLine(Double) (Overrides TextWriter..::..WriteLine(Double).)
Public methodWriteLine(Int32) (Overrides TextWriter..::..WriteLine(Int32).)
Public methodWriteLine(Int64) (Overrides TextWriter..::..WriteLine(Int64).)
Public methodWriteLine(Object) (Overrides TextWriter..::..WriteLine(Object).)
Public methodWriteLine(Single) (Overrides TextWriter..::..WriteLine(Single).)
Public methodWriteLine(String) (Overrides TextWriter..::..WriteLine(String).)
Public methodWriteLine(UInt32) (Overrides TextWriter..::..WriteLine(UInt32).)
Public methodWriteLine(UInt64) (Overrides TextWriter..::..WriteLine(UInt64).)
Public methodWriteLine(String, Object) (Overrides TextWriter..::..WriteLine(String, Object).)
Public methodWriteLine(String, array<Object>[]()[][]) (Overrides TextWriter..::..WriteLine(String, array<Object>[]()[][]).)
Public methodWriteLine(array<Char>[]()[][], Int32, Int32) (Overrides TextWriter..::..WriteLine(array<Char>[]()[][], Int32, Int32).)
Public methodWriteLine(String, Object, Object) (Overrides TextWriter..::..WriteLine(String, Object, Object).)
Public methodWriteLine(String, Object, Object, Object) (Overrides TextWriter..::..WriteLine(String, Object, Object, Object).)
Public methodWriteLineNoIndent

Operators

  NameDescription
Public operatorStatic memberAddition
Public operatorStatic memberSubtraction

Fields

  NameDescription
Protected fieldCoreNewLine
Stores the new line characters used for this TextWriter.
(Inherited from TextWriter.)
Public fieldStatic memberDefaultNewLine
Public fieldStatic memberDefaultTabString

Properties

  NameDescription
Public propertyEncoding (Overrides TextWriter..::..Encoding.)
Public propertyFormatProvider
Gets an object that controls formatting.
(Inherited from TextWriter.)
Public propertyIndentLevel
The number of tabs or spaces the generated output should indent.
Public propertyIndentValue
This value is outputted once for each Indent Level. IndentValue defaults to one tab.
Public propertyNewLine (Overrides TextWriter..::..NewLine.)
Public propertyTargetWriters

See Also