Click or drag to resize
InfoProviderInterfaceTemplate Class
Class to produce the template output
A partial class which defines the parameters and constructor for the info provider interface T4 runtime template.
Inheritance Hierarchy
SystemObject
  CMS.DataEngine.GeneratorsInfoProviderInterfaceTemplateBase
    CMS.DataEngine.GeneratorsInfoProviderInterfaceTemplate

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

The InfoProviderInterfaceTemplate type exposes the following members.

Constructors
  NameDescription
Public methodInfoProviderInterfaceTemplate
Initializes a new instance of the InfoProviderInterfaceTemplate 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 InfoProviderInterfaceTemplateBase.)
Public propertyErrors
The error collection for the generation process
(Inherited from InfoProviderInterfaceTemplateBase.)
Protected propertyGenerationEnvironment
The string builder that generation-time code is using to assemble generated output
(Inherited from InfoProviderInterfaceTemplateBase.)
Public propertyHasCodeNameColumn
Indicates whether a codename column is defined.
Public propertyInfoClassName
Gets the info class name.
Public propertyInfoClassNamePluralized
Gets the pluralized info 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 InfoProviderInterfaceTemplateBase.)
Public propertyToStringHelper
Helper to produce culture-oriented representation of an object as a string
(Inherited from InfoProviderInterfaceTemplateBase.)
Top
Methods
  NameDescription
Public methodClearIndent
Remove any indentation
(Inherited from InfoProviderInterfaceTemplateBase.)
Public methodError
Raise an error
(Inherited from InfoProviderInterfaceTemplateBase.)
Public methodPopIndent
Remove the last indent that was added with PushIndent
(Inherited from InfoProviderInterfaceTemplateBase.)
Public methodPushIndent
Increase the indent
(Inherited from InfoProviderInterfaceTemplateBase.)
Public methodTransformText
Create the template output
Public methodWarning
Raise a warning
(Inherited from InfoProviderInterfaceTemplateBase.)
Public methodWrite(String)
Write text directly into the generated output
(Inherited from InfoProviderInterfaceTemplateBase.)
Public methodWrite(String, Object)
Write formatted text directly into the generated output
(Inherited from InfoProviderInterfaceTemplateBase.)
Public methodWriteLine(String)
Write text directly into the generated output
(Inherited from InfoProviderInterfaceTemplateBase.)
Public methodWriteLine(String, Object)
Write formatted text directly into the generated output
(Inherited from InfoProviderInterfaceTemplateBase.)
Top
See Also