Class InfoProviderTemplateBase
- Namespace
- CMS.DataEngine.Generators
- Assembly
- CMS.DataEngine.dll
Base class for this transformation
public class InfoProviderTemplateBase
- Inheritance
-
objectInfoProviderTemplateBase
- Derived
- Extension Methods
Properties
CurrentIndent
Gets the current indent we use when adding lines to the output
public string CurrentIndent { get; }
Property Value
- string
Errors
The error collection for the generation process
public CompilerErrorCollection Errors { get; }
Property Value
- CompilerErrorCollection
GenerationEnvironment
The string builder that generation-time code is using to assemble generated output
protected StringBuilder GenerationEnvironment { get; set; }
Property Value
- StringBuilder
Session
Current transformation session
public virtual IDictionary<string, object> Session { get; set; }
Property Value
- IDictionary<string, object>
ToStringHelper
Helper to produce culture-oriented representation of an object as a string
public InfoProviderTemplateBase.ToStringInstanceHelper ToStringHelper { get; }
Property Value
Methods
ClearIndent()
Remove any indentation
public void ClearIndent()
Error(string)
Raise an error
public void Error(string message)
Parameters
message
string
PopIndent()
Remove the last indent that was added with PushIndent
public string PopIndent()
Returns
- string
PushIndent(string)
Increase the indent
public void PushIndent(string indent)
Parameters
indent
string
Warning(string)
Raise a warning
public void Warning(string message)
Parameters
message
string
Write(string)
Write text directly into the generated output
public void Write(string textToAppend)
Parameters
textToAppend
string
Write(string, params object[])
Write formatted text directly into the generated output
public void Write(string format, params object[] args)
Parameters
format
stringargs
object[]
WriteLine(string)
Write text directly into the generated output
public void WriteLine(string textToAppend)
Parameters
textToAppend
string
WriteLine(string, params object[])
Write formatted text directly into the generated output
public void WriteLine(string format, params object[] args)
Parameters
format
stringargs
object[]