Click or drag to resize
IObjectFactory Interface
Object factory interface

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 10.0.0
Syntax
C#
public interface IObjectFactory

The IObjectFactory type exposes the following members.

Properties
  NameDescription
Public propertyCreatedType
Returns the type created by this factory
Public propertySingleton
Singleton instance of the created object type
Top
Methods
  NameDescription
Public methodCanCreateObject
Returns true if the factory is able to create the object of the given type
Public methodCreateNewObject
Creates and returns a new object
Top
See Also