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

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

The BindingInfoProviderTemplate type exposes the following members.

Constructors
  NameDescription
Public methodBindingInfoProviderTemplate
Creates the info provider 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 BindingInfoProviderTemplateBase.)
Public propertyErrors
The error collection for the generation process
(Inherited from BindingInfoProviderTemplateBase.)
Protected propertyGenerationEnvironment
The string builder that generation-time code is using to assemble generated output
(Inherited from BindingInfoProviderTemplateBase.)
Public propertyInfoClassName
Gets the info class name.
Public propertyInfoClassNamePluralized
Gets the info class name in plural.
Public propertyInfoProviderClassName
Gets the info provider class name.
Public propertyLeftObjectCodeName
Gets the binding left side name without spaces.
Public propertyLeftObjectName
Gets the binding left side variable name.
Public propertyLeftSideColumnName
Gets the binding left side column name.
Public propertyLeftVariableName
Gets the binding left side variable name.
Public propertyNamespace
Gets the namespace.
Public propertyRightObjectCodeName
Gets the binding right side name without spaces.
Public propertyRightObjectName
Gets the binding right side variable name.
Public propertyRightSideColumnName
Gets the binding right side column name.
Public propertyRightVariableName
Gets the binding right side variable name.
Public propertySession
Current transformation session
(Inherited from BindingInfoProviderTemplateBase.)
Public propertyToStringHelper
Helper to produce culture-oriented representation of an object as a string
(Inherited from BindingInfoProviderTemplateBase.)
Top
Methods
  NameDescription
Public methodClearIndent
Remove any indentation
(Inherited from BindingInfoProviderTemplateBase.)
Public methodError
Raise an error
(Inherited from BindingInfoProviderTemplateBase.)
Public methodPopIndent
Remove the last indent that was added with PushIndent
(Inherited from BindingInfoProviderTemplateBase.)
Public methodPushIndent
Increase the indent
(Inherited from BindingInfoProviderTemplateBase.)
Public methodTransformText
Create the template output
Public methodWarning
Raise a warning
(Inherited from BindingInfoProviderTemplateBase.)
Public methodWrite(String)
Write text directly into the generated output
(Inherited from BindingInfoProviderTemplateBase.)
Public methodWrite(String, Object)
Write formatted text directly into the generated output
(Inherited from BindingInfoProviderTemplateBase.)
Public methodWriteLine(String)
Write text directly into the generated output
(Inherited from BindingInfoProviderTemplateBase.)
Public methodWriteLine(String, Object)
Write formatted text directly into the generated output
(Inherited from BindingInfoProviderTemplateBase.)
Top
See Also