ClassHelper MembersKentico 8.1 API Reference
The ClassHelper type exposes the following members.
Constructors

  NameDescription
Public methodClassHelper
Back to Top
Methods

  NameDescription
Public methodStatic memberClassLoaded
Indicates if given class is loaded.
Protected methodClassLoadedInternal
Indicates if given class is loaded.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodStatic memberGetAssembly
Loads the given assembly.
Protected methodGetAssemblyInternal
Loads the given assembly.
Public methodStatic memberGetAssemblyNames
Gets list of assembly names by given restrictions.
Protected methodGetAssemblyNamesInternal
Gets list of assembly names by given restrictions. Returns assemblies that contains at least one class fullfilling restrictions.
Public methodStatic memberGetClass(String, String)
Gets the new object of given class.
Public methodStatic memberGetClass ReturnType (String, String)
Gets the new object of given class.
Public methodStatic memberGetClasses
Gets classes for given assembly name and filter settings
Protected methodGetClassesInternal
Gets classes for given assembly name and class restrictions settings.
Protected methodGetClassInternal
Gets the new object of given class.
Public methodStatic memberGetClassType
Gets the new object of given class.
Protected methodGetClassTypeInternal
Gets the type of given class.
Protected methodGetCustomClass
Attempts to get the custom class
Public methodStatic memberGetCustomClassNames
Gets the list of registered custom class names.
Protected methodGetCustomClassNamesInternal
Gets the list of registered custom class names.
Public methodStatic memberGetEmptyObject
Gets the empty object of the given type
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodStatic memberIsAllowed
Checks if given type is allowed based on base class name.
Public methodStatic memberIsCustomClass
Indicates if given assembly name represents custom class
Protected methodIsCustomClassInternal
Indicates if given assembly name represents custom class
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodStatic memberRegisterAliasFor ObjectType 
Registers the class alias for backward compatibility
Public methodStatic memberRegisterCustomClass(String, String, IObjectFactory)
Registers the custom class under the given assembly name and class name. Overrides the default one
Public methodStatic memberRegisterCustomClass ClassType (String)
Registers the custom App_Code class under the class name. Overrides the default one
Public methodStatic memberRegisterCustomClass ClassType (String, String)
Registers the custom class under the given assembly name and class name. Overrides the default one
Public methodSetAsDefaultHelper
Sets this object as the default helper
(Inherited from AbstractHelper HelperType .)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
Fields

  NameDescription
Public fieldStatic memberASSEMBLY_APPCODE
AppCode constant.
Public fieldStatic memberOnGetCustomClass
Fires when the custom class is required.
Back to Top
Properties

  NameDescription
Public propertyStatic memberDefaultAssembly
Gets or sets default assembly for loading classes. Default assembly is used when the assembly given by a parameter is not found.
Back to Top
See Also