Click or drag to resize
BindingInfoTemplate Class
Class to produce the template output
A partial class which defines the parameters and constructor for the info T4 runtime template.
Inheritance Hierarchy

Namespace: CMS.DataEngine.Generators
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
public class BindingInfoTemplate : BindingInfoTemplateBase

The BindingInfoTemplate type exposes the following members.

Constructors
  NameDescription
Public methodBindingInfoTemplate
Creates the info template and initializes it using the specified data class.
Top
Properties
  NameDescription
Public propertyCurrentIndent
Gets the current indent we use when adding lines to the output
(Inherited from BindingInfoTemplateBase.)
Public propertyErrors
The error collection for the generation process
(Inherited from BindingInfoTemplateBase.)
Protected propertyGenerationEnvironment
The string builder that generation-time code is using to assemble generated output
(Inherited from BindingInfoTemplateBase.)
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 propertyModuleName
Module name
Public propertyNamespace
Gets the namespace.
Public propertyObjectClassName
Gets the object class name.
Public propertyObjectType
Gets the object type.
Public propertyParentColumn
Gets the name of the parent column.
Public propertyParentObjectType
Gets the parent object type.
Public propertyProperties
Gets the info properties description.
Public propertyReferences
Gets the info properties description.
Public propertySession
Current transformation session
(Inherited from BindingInfoTemplateBase.)
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 BindingInfoTemplateBase.)
Top
Methods
  NameDescription
Public methodClearIndent
Remove any indentation
(Inherited from BindingInfoTemplateBase.)
Public methodError
Raise an error
(Inherited from BindingInfoTemplateBase.)
Public methodPopIndent
Remove the last indent that was added with PushIndent
(Inherited from BindingInfoTemplateBase.)
Public methodPushIndent
Increase the indent
(Inherited from BindingInfoTemplateBase.)
Public methodTransformText
Create the template output
Public methodWarning
Raise a warning
(Inherited from BindingInfoTemplateBase.)
Public methodWrite(String)
Write text directly into the generated output
(Inherited from BindingInfoTemplateBase.)
Public methodWrite(String, Object)
Write formatted text directly into the generated output
(Inherited from BindingInfoTemplateBase.)
Public methodWriteLine(String)
Write text directly into the generated output
(Inherited from BindingInfoTemplateBase.)
Public methodWriteLine(String, Object)
Write formatted text directly into the generated output
(Inherited from BindingInfoTemplateBase.)
Top
See Also