InfoProviderTemplate MembersKentico 8.1 API Reference
The InfoProviderTemplate type exposes the following members.
Constructors

  NameDescription
Public methodInfoProviderTemplate
Creates the info provider template and initializes it using the specified data class.
Back to Top
Methods

  NameDescription
Public methodClearIndent
Remove any indentation
(Inherited from InfoProviderTemplateBase.)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Public methodError
Raise an error
(Inherited from InfoProviderTemplateBase.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodPopIndent
Remove the last indent that was added with PushIndent
(Inherited from InfoProviderTemplateBase.)
Public methodPushIndent
Increase the indent
(Inherited from InfoProviderTemplateBase.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
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.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to 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 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 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.
Back to Top
See Also