Click or drag to resize
InfoTemplate Class
Class to produce the template output
A partial class which defines the parameters and constructor for the info T4 runtime template.
Inheritance Hierarchy
SystemObject
  CMS.DataEngine.GeneratorsInfoTemplateBase
    CMS.DataEngine.GeneratorsInfoTemplate

Namespace: CMS.DataEngine.Generators
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
public class InfoTemplate : InfoTemplateBase

The InfoTemplate type exposes the following members.

Constructors
  NameDescription
Public methodInfoTemplate
Initializes a new instance of the InfoTemplate class using the specified data class.
Top
Properties
  NameDescription
Public propertyBinaryColumn
Gets the name of the binary column.
Public propertyCodeNameColumn
Gets the name of the code name column.
Public propertyCurrentIndent
Gets the current indent we use when adding lines to the output
(Inherited from InfoTemplateBase.)
Public propertyDisplayNameColumn
Gets the name of the display name column.
Public propertyErrors
The error collection for the generation process
(Inherited from InfoTemplateBase.)
Protected propertyGenerationEnvironment
The string builder that generation-time code is using to assemble generated output
(Inherited from InfoTemplateBase.)
Public propertyGuidColumn
Gets the name of the GUID column.
Public propertyHasReferences
Determines whether there is at least one field which has a reference set to some object type.
Public propertyIdColumn
Gets the name of the ID column.
Public propertyInfoClassName
Gets the info class name.
Public propertyInfoProviderClassName
Gets the info provider class name.
Public propertyInfoProviderInterfaceName
Gets the info provider interface name.
Public propertyLastModifiedColumn
Gets the name of the "last modified" column.
Public propertyModuleName
Module name
Public propertyNamespace
Gets the namespace.
Public propertyObjectClassName
Gets the object class name.
Public propertyObjectType
Gets the object type.
Public propertyProperties
Gets the info properties description.
Public propertySession
Current transformation session
(Inherited from InfoTemplateBase.)
Public propertySiteIdColumn
Gets the name of the site ID column.
Public propertyToStringHelper
Helper to produce culture-oriented representation of an object as a string
(Inherited from InfoTemplateBase.)
Top
Methods
  NameDescription
Public methodClearIndent
Remove any indentation
(Inherited from InfoTemplateBase.)
Public methodError
Raise an error
(Inherited from InfoTemplateBase.)
Public methodPopIndent
Remove the last indent that was added with PushIndent
(Inherited from InfoTemplateBase.)
Public methodPushIndent
Increase the indent
(Inherited from InfoTemplateBase.)
Public methodTransformText
Create the template output
Public methodWarning
Raise a warning
(Inherited from InfoTemplateBase.)
Public methodWrite(String)
Write text directly into the generated output
(Inherited from InfoTemplateBase.)
Public methodWrite(String, Object)
Write formatted text directly into the generated output
(Inherited from InfoTemplateBase.)
Public methodWriteLine(String)
Write text directly into the generated output
(Inherited from InfoTemplateBase.)
Public methodWriteLine(String, Object)
Write formatted text directly into the generated output
(Inherited from InfoTemplateBase.)
Top
See Also