| ClassHelper Class |
Namespace: CMS.Base
public class ClassHelper : AbstractHelper<ClassHelper>
The ClassHelper type exposes the following members.
| Name | Description | |
|---|---|---|
| ClassHelper |
| 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.
|
| 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 fulfilling 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
| |
| 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.) |