Class PublishPageBase
Base class for this transformation
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:ClickTwice.Publisher.Core.Resources
Assembly:ClickTwice.Publisher.Core.dll
Syntax
public class PublishPageBase
Properties
| Improve this Doc View SourceCurrentIndent
Gets the current indent we use when adding lines to the output
Declaration
public string CurrentIndent { get; }
Property Value
Type | Description |
---|---|
System.String |
Errors
The error collection for the generation process
Declaration
public CompilerErrorCollection Errors { get; }
Property Value
Type | Description |
---|---|
System.CodeDom.Compiler.CompilerErrorCollection |
GenerationEnvironment
The string builder that generation-time code is using to assemble generated output
Declaration
protected StringBuilder GenerationEnvironment { get; set; }
Property Value
Type | Description |
---|---|
System.Text.StringBuilder |
Session
Current transformation session
Declaration
public virtual IDictionary<string, object> Session { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> |
ToStringHelper
Helper to produce culture-oriented representation of an object as a string
Declaration
public PublishPageBase.ToStringInstanceHelper ToStringHelper { get; }
Property Value
Type | Description |
---|---|
PublishPageBase.ToStringInstanceHelper |
Methods
| Improve this Doc View SourceClearIndent()
Remove any indentation
Declaration
public void ClearIndent()
Error(String)
Raise an error
Declaration
public void Error(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
PopIndent()
Remove the last indent that was added with PushIndent
Declaration
public string PopIndent()
Returns
Type | Description |
---|---|
System.String |
PushIndent(String)
Increase the indent
Declaration
public void PushIndent(string indent)
Parameters
Type | Name | Description |
---|---|---|
System.String | indent |
Warning(String)
Raise a warning
Declaration
public void Warning(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
Write(String)
Write text directly into the generated output
Declaration
public void Write(string textToAppend)
Parameters
Type | Name | Description |
---|---|---|
System.String | textToAppend |
Write(String, Object[])
Write formatted text directly into the generated output
Declaration
public void Write(string format, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
System.String | format | |
System.Object[] | args |
WriteLine(String)
Write text directly into the generated output
Declaration
public void WriteLine(string textToAppend)
Parameters
Type | Name | Description |
---|---|---|
System.String | textToAppend |
WriteLine(String, Object[])
Write formatted text directly into the generated output
Declaration
public void WriteLine(string format, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
System.String | format | |
System.Object[] | args |