TypeHelper Class |
Namespace: CMS.Base
public static class TypeHelper
The TypeHelper type exposes the following members.
Name | Description | |
---|---|---|
MAX_NAME_LENGTH |
Maximal length of the node document name.
|
Name | Description | |
---|---|---|
MaxCodeNameLength |
Maximal length of the node document name.
|
Name | Description | |
---|---|---|
AddType |
Adds the type to the type list.
| |
AddTypes |
Adds the specified types to the resulting array.
| |
EnsureMaxCodeNameLength |
Ensures maximal allowed code name length.
| |
GetMaxCodeNameLength |
Gets the maximum code name length
| |
GetNiceName |
Gets nice name from the given object type
| |
GetNiceObjectTypeName |
Gets the nice object type name for this type
| |
GetObjectTypeResourceKey |
Gets the resource key for the name of the object type. Name of type should be in singular form.
| |
GetPlural |
Gets the plural for the given name
| |
GetTasksResourceKey |
Gets the resource key for groups or categories of objects (usually plural), typically used in object trees to label nodes with children.
| |
GetTypes |
Resolves the object types.
| |
NewList |
Returns a new list created from the given values
|