Show / Hide Table of Contents

Class TextTransformation

Inheritance
System.Object
TextTransformation
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Microsoft.VisualStudio.TextTemplating
Assembly: cs.temp.dll.dll
Syntax
public abstract class TextTransformation : IDisposable

Constructors

TextTransformation()

Declaration
public TextTransformation()

Properties

CurrentIndent

Declaration
public string CurrentIndent { get; }
Property Value
Type Description
System.String

Errors

Declaration
protected CompilerErrorCollection Errors { get; }
Property Value
Type Description
CompilerErrorCollection

GenerationEnvironment

Declaration
protected StringBuilder GenerationEnvironment { get; set; }
Property Value
Type Description
StringBuilder

Session

Declaration
public virtual IDictionary<string, object> Session { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.Object>

Methods

ClearIndent()

Declaration
public void ClearIndent()

Dispose()

Declaration
public void Dispose()

Dispose(Boolean)

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing

Error(String)

Declaration
public void Error(string message)
Parameters
Type Name Description
System.String message

Finalize()

Declaration
protected void Finalize()

Initialize()

Declaration
public virtual void Initialize()

PopIndent()

Declaration
public string PopIndent()
Returns
Type Description
System.String

PushIndent(String)

Declaration
public void PushIndent(string indent)
Parameters
Type Name Description
System.String indent

TransformText()

Declaration
public abstract string TransformText()
Returns
Type Description
System.String

Warning(String)

Declaration
public void Warning(string message)
Parameters
Type Name Description
System.String message

Write(String)

Declaration
public void Write(string textToAppend)
Parameters
Type Name Description
System.String textToAppend

Write(String, Object[])

Declaration
public void Write(string format, params object[] args)
Parameters
Type Name Description
System.String format
System.Object[] args

WriteLine(String)

Declaration
public void WriteLine(string textToAppend)
Parameters
Type Name Description
System.String textToAppend

WriteLine(String, Object[])

Declaration
public void WriteLine(string format, params object[] args)
Parameters
Type Name Description
System.String format
System.Object[] args

Implements

System.IDisposable
In This Article
Back to top Copyright FasterGames ©