ClassHelper Class |
Namespace: CMS.Base
public class ClassHelper : AbstractHelper<ClassHelper>
The ClassHelper type exposes the following members.
Name | Description | |
---|---|---|
ClassHelper |
Name | Description | |
---|---|---|
ClassLoaded |
Indicates if given class is loaded.
| |
ClassLoadedInternal |
Indicates if given class is loaded.
| |
GetAssembly |
Loads the given assembly.
| |
GetAssemblyInternal |
Loads the given assembly.
| |
GetAssemblyNames |
Gets list of assembly names by given restrictions.
| |
GetAssemblyNamesInternal |
Gets list of assembly names by given restrictions. Returns assemblies that contains at least one class fullfilling restrictions.
| |
GetClass(String, String) |
Gets the new object of given class.
| |
GetClassReturnType(String, String) |
Gets the new object of given class.
| |
GetClasses |
Gets classes for given assembly name and filter settings
| |
GetClassesInternal |
Gets classes for given assembly name and class restrictions settings.
| |
GetClassInternal |
Gets the new object of given class.
| |
GetClassType |
Gets the new object of given class.
| |
GetClassTypeInternal |
Gets the type of given class.
| |
GetCustomClass |
Attempts to get the custom class
| |
GetCustomClassNames |
Gets the list of registered custom class names.
| |
GetCustomClassNamesInternal |
Gets the list of registered custom class names.
| |
GetEmptyObject |
Gets the empty object of the given type
| |
IsAllowed |
Checks if given type is allowed based on base class name.
| |
IsCustomClass |
Indicates if given assembly name represents custom class
| |
IsCustomClassInternal |
Indicates if given assembly name represents custom class
| |
RegisterAliasForObjectType |
Registers the class alias for backward compatibility
| |
RegisterCustomClass(String, String, IObjectFactory) |
Registers the custom class under the given assembly name and class name. Overrides the default one
| |
RegisterCustomClassClassType(String) |
Registers the custom App_Code class under the class name. Overrides the default one
| |
RegisterCustomClassClassType(String, String) |
Registers the custom class under the given assembly name and class name. Overrides the default one
| |
SetAsDefaultHelper |
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.) |
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
ASSEMBLY_APPCODE |
AppCode constant.
| |
OnGetCustomClass |
Fires when the custom class is required.
|
Name | Description | |
---|---|---|
DefaultAssembly |
Gets or sets default assembly for loading classes. Default assembly is used when the assembly given by a parameter is not found.
|