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
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.)
Top
See Also