Click or drag to resize
IObjectFactory Interface
Object factory interface

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

The IObjectFactory type exposes the following members.

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
Properties
  NameDescription
Public propertyCreatedType
Returns the type created by this factory
Public propertySingleton
Singleton instance of the created object type
Top
See Also