Click or drag to resize
InfoProviderTemplateV12 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.GeneratorsInfoProviderTemplateV12Base
    CMS.DataEngine.GeneratorsInfoProviderTemplateV12

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

The InfoProviderTemplateV12 type exposes the following members.

Constructors
  NameDescription
Public methodInfoProviderTemplateV12
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 InfoProviderTemplateV12Base.)
Public propertyErrors
The error collection for the generation process
(Inherited from InfoProviderTemplateV12Base.)
Protected propertyGenerationEnvironment
The string builder that generation-time code is using to assemble generated output
(Inherited from InfoProviderTemplateV12Base.)
Public propertyHasAdvancedMethods
Gets a value that indicates if the info provider has any advanced methods.
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 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 InfoProviderTemplateV12Base.)
Public propertyToStringHelper
Helper to produce culture-oriented representation of an object as a string
(Inherited from InfoProviderTemplateV12Base.)
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 InfoProviderTemplateV12Base.)
Public methodError
Raise an error
(Inherited from InfoProviderTemplateV12Base.)
Public methodPopIndent
Remove the last indent that was added with PushIndent
(Inherited from InfoProviderTemplateV12Base.)
Public methodPushIndent
Increase the indent
(Inherited from InfoProviderTemplateV12Base.)
Public methodTransformText
Create the template output
Public methodWarning
Raise a warning
(Inherited from InfoProviderTemplateV12Base.)
Public methodWrite(String)
Write text directly into the generated output
(Inherited from InfoProviderTemplateV12Base.)
Public methodWrite(String, Object)
Write formatted text directly into the generated output
(Inherited from InfoProviderTemplateV12Base.)
Public methodWriteLine(String)
Write text directly into the generated output
(Inherited from InfoProviderTemplateV12Base.)
Public methodWriteLine(String, Object)
Write formatted text directly into the generated output
(Inherited from InfoProviderTemplateV12Base.)
Top
See Also