Click or drag to resize
ObjectFactory Class
Object factory based on the given type
Inheritance Hierarchy
SystemObject
  CMS.CoreObjectFactoryObject
    CMS.CoreObjectFactory

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 10.0.0
Syntax
C#
public class ObjectFactory : ObjectFactory<Object>

The ObjectFactory type exposes the following members.

Constructors
  NameDescription
Public methodObjectFactory
Constructor
Top
Properties
Methods
  NameDescription
Public methodCanCreateObject
Returns true if the factory is able to create the object based on the given parameter
(Inherited from ObjectFactoryT.)
Protected methodCreateActivator
Creates an object activator for the created type
(Inherited from ObjectFactoryT.)
Protected methodCreateInstance
Creates a new instance of the object
(Inherited from ObjectFactoryT.)
Public methodCreateNewObject
Creates and returns a new object
(Inherited from ObjectFactoryT.)
Public methodCreateNewTypedObject
Creates and returns a new object
(Inherited from ObjectFactoryT.)
Public methodStatic memberGetFactory
Gets the factory for the given type
Protected methodStatic memberGetFactoryGenericTObject
Creates an object by an external factory of the given type
Public methodStatic memberNew
Creates an object of the given type
Top
See Also