ObjectFactoryT Methods |
The ObjectFactoryT generic type exposes the following members.
Name | Description | |
---|---|---|
CanCreateObject |
Returns true if the factory is able to create the object based on the given parameter
| |
CreateActivator |
Creates an object activator for the created type
| |
CreateInstance |
Creates a new instance of the object
| |
CreateNewObject |
Creates and returns a new object
| |
CreateNewTypedObject |
Creates and returns a new object
| |
ChangeCreatedTypeTo(Type) |
Replaces the creation of the given original type by the new type
| |
ChangeCreatedTypeToNewType |
Replaces the creation of the given original type by the new type
| |
New |
Creates a new object of the given type
| |
Reset |
Resets the factory to a default state
| |
SetDefaultObjectTypeToNewType |
Sets the default object type created by the factory to the given type
| |
StaticSingleton |
Provides a static singleton instance of the object implementing this interface
| |
StaticSingletonTParent |
Returns static singleton for the given object type
|
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |