The ClassHelper type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
ClassHelper |
Methods
Name | Description | |
---|---|---|
ClassLoaded |
Indicates if given class is loaded.
| |
ClassLoadedInternal |
Indicates if given class is loaded.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
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.
| |
GetClass ReturnType (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
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
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
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RegisterAliasFor ObjectType |
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
| |
RegisterCustomClass ClassType (String) |
Registers the custom App_Code class under the class name. Overrides the default one
| |
RegisterCustomClass ClassType (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 AbstractHelper HelperType .) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
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.) |
Fields
Name | Description | |
---|---|---|
ASSEMBLY_APPCODE |
AppCode constant.
| |
OnGetCustomClass |
Fires when the custom class is required.
|
Properties
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.
|
See Also