| InfoTemplate Class |
Namespace: CMS.DataEngine.Generators
public class InfoTemplate : InfoTemplateBase
The InfoTemplate type exposes the following members.
| Name | Description | |
|---|---|---|
| InfoTemplate |
Creates the info template and initializes it using the specified data class.
|
| Name | Description | |
|---|---|---|
| ClearIndent |
Remove any indentation
(Inherited from InfoTemplateBase.) | |
| Error |
Raise an error
(Inherited from InfoTemplateBase.) | |
| PopIndent |
Remove the last indent that was added with PushIndent
(Inherited from InfoTemplateBase.) | |
| PushIndent |
Increase the indent
(Inherited from InfoTemplateBase.) | |
| TransformText |
Create the template output
| |
| Warning |
Raise a warning
(Inherited from InfoTemplateBase.) | |
| Write(String) |
Write text directly into the generated output
(Inherited from InfoTemplateBase.) | |
| Write(String, Object) |
Write formatted text directly into the generated output
(Inherited from InfoTemplateBase.) | |
| WriteLine(String) |
Write text directly into the generated output
(Inherited from InfoTemplateBase.) | |
| WriteLine(String, Object) |
Write formatted text directly into the generated output
(Inherited from InfoTemplateBase.) |
| Name | Description | |
|---|---|---|
| AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
| GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
| Name | Description | |
|---|---|---|
| BinaryColumn |
Gets the name of the binary column.
| |
| CodeNameColumn |
Gets the name of the code name column.
| |
| CurrentIndent |
Gets the current indent we use when adding lines to the output
(Inherited from InfoTemplateBase.) | |
| DisplayNameColumn |
Gets the name of the display name column.
| |
| Errors |
The error collection for the generation process
(Inherited from InfoTemplateBase.) | |
| GenerationEnvironment |
The string builder that generation-time code is using to assemble generated output
(Inherited from InfoTemplateBase.) | |
| GuidColumn |
Gets the name of the GUID column.
| |
| HasReferences |
Determines whether there is at least one field which has a reference set to some object type.
| |
| IdColumn |
Gets the name of the ID column.
| |
| InfoClassName |
Gets the info class name.
| |
| InfoProviderClassName |
Gets the info provider class name.
| |
| LastModifiedColumn |
Gets the name of the "last modified" column.
| |
| ModuleName |
Module name
| |
| Namespace |
Gets the namespace.
| |
| ObjectClassName |
Gets the object class name.
| |
| ObjectType |
Gets the object type.
| |
| Properties |
Gets the info properties description.
| |
| Session |
Current transformation session
(Inherited from InfoTemplateBase.) | |
| SiteIdColumn |
Gets the name of the site ID column.
| |
| ToStringHelper |
Helper to produce culture-oriented representation of an object as a string
(Inherited from InfoTemplateBase.) |