Click or drag to resize
ObjectFactoryT Methods

The ObjectFactoryT generic type exposes the following members.

Methods
  NameDescription
Public methodCanCreateObject
Returns true if the factory is able to create the object based on the given parameter
Protected methodCreateActivator
Creates an object activator for the created type
Protected methodCreateInstance
Creates a new instance of the object
Public methodCreateNewObject
Creates and returns a new object
Public methodCreateNewTypedObject
Creates and returns a new object
Public methodStatic memberChangeCreatedTypeTo(Type)
Replaces the creation of the given original type by the new type
Public methodStatic memberChangeCreatedTypeToNewType
Replaces the creation of the given original type by the new type
Public methodStatic memberNew
Creates a new object of the given type
Public methodStatic memberReset
Resets the factory to a default state
Public methodStatic memberSetDefaultObjectTypeToNewType
Sets the default object type created by the factory to the given type
Public methodStatic memberStaticSingleton
Provides a static singleton instance of the object implementing this interface
Public methodStatic memberStaticSingletonTParent
Returns static singleton for the given object type
Top
See Also