Click or drag to resize
TypeHelper Class
Type helper.
Inheritance Hierarchy
SystemObject
  CMS.BaseTypeHelper

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 9.0.0
Syntax
C#
public static class TypeHelper

The TypeHelper type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberMAX_NAME_LENGTH
Maximal length of the node document name.
Top
Properties
  NameDescription
Public propertyStatic memberMaxCodeNameLength
Maximal length of the node document name.
Top
Methods
  NameDescription
Public methodStatic memberAddType
Adds the type to the type list.
Public methodStatic memberAddTypes
Adds the specified types to the resulting array.
Public methodStatic memberEnsureMaxCodeNameLength
Ensures maximal allowed code name length.
Public methodStatic memberGetMaxCodeNameLength
Gets the maximum code name length
Public methodStatic memberGetNiceName
Gets nice name from the given object type
Public methodStatic memberGetNiceObjectTypeName
Gets the nice object type name for this type
Public methodStatic memberGetObjectTypeResourceKey
Gets the resource key for the name of the object type. Name of type should be in singular form.
Public methodStatic memberGetPlural
Gets the plural for the given name
Public methodStatic memberGetTasksResourceKey
Gets the resource key for groups or categories of objects (usually plural), typically used in object trees to label nodes with children.
Public methodStatic memberGetTypes
Resolves the object types.
Public methodStatic memberNewList(ICollection)
Returns a new list created from the given values
Public methodStatic memberNewList(String)
Returns a new list created from the given values
Top
See Also