Click or drag to resize
InfoProviderTemplate 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
SystemObject
  CMS.DataEngine.GeneratorsInfoProviderTemplateBase
    CMS.DataEngine.GeneratorsInfoProviderTemplate

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

The InfoProviderTemplate type exposes the following members.

Constructors
  NameDescription
Public methodInfoProviderTemplate
Initializes a new instance of the InfoProviderTemplate class using the specified data class.
Top
Properties
  NameDescription
Public propertyCurrentIndent
Gets the current indent we use when adding lines to the output
(Inherited from InfoProviderTemplateBase.)
Public propertyErrors
The error collection for the generation process
(Inherited from InfoProviderTemplateBase.)
Protected propertyGenerationEnvironment
The string builder that generation-time code is using to assemble generated output
(Inherited from InfoProviderTemplateBase.)
Public propertyHasCodeNameColumn
Indicates whether a codename column is defined.
Public propertyHasGUIDColumn
Indicates whether a GUID column is defined.
Public propertyInfoClassName
Gets the info class name.
Public propertyInfoClassNamePluralized
Gets the pluralized info class name.
Public propertyInfoProviderClassName
Gets the info provider class name.
Public propertyInfoProviderInterfaceName
Gets the info provider interface name.
Public propertyIsSiteObject
Gets a value that indicates if the info can be a site object (i.e. can have site ID specified).
Public propertyNamespace
Gets the namespace.
Public propertySession
Current transformation session
(Inherited from InfoProviderTemplateBase.)
Public propertyToStringHelper
Helper to produce culture-oriented representation of an object as a string
(Inherited from InfoProviderTemplateBase.)
Public propertyUseGuidHashtable
Gets a value that indicates if the GUID hashtable is to be used by the provider.
Public propertyUseHashtables
Gets a value that indicates if any hastable is to be used by the provider.
Public propertyUseIdHashtable
Gets the value that indicates if the ID hashtable is to be used by the provider.
Public propertyUseNameHashtable
Gets a value that indicates if the name hashtable is to be used by the provider.
Top
Methods
  NameDescription
Public methodClearIndent
Remove any indentation
(Inherited from InfoProviderTemplateBase.)
Public methodError
Raise an error
(Inherited from InfoProviderTemplateBase.)
Public methodPopIndent
Remove the last indent that was added with PushIndent
(Inherited from InfoProviderTemplateBase.)
Public methodPushIndent
Increase the indent
(Inherited from InfoProviderTemplateBase.)
Public methodTransformText
Create the template output
Public methodWarning
Raise a warning
(Inherited from InfoProviderTemplateBase.)
Public methodWrite(String)
Write text directly into the generated output
(Inherited from InfoProviderTemplateBase.)
Public methodWrite(String, Object)
Write formatted text directly into the generated output
(Inherited from InfoProviderTemplateBase.)
Public methodWriteLine(String)
Write text directly into the generated output
(Inherited from InfoProviderTemplateBase.)
Public methodWriteLine(String, Object)
Write formatted text directly into the generated output
(Inherited from InfoProviderTemplateBase.)
Top
See Also