The ObjectFactory type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | ObjectFactory |
Constructor
|
Methods
Name | Description | |
---|---|---|
![]() | CanCreateObject |
Returns true if the factory is able to create the object based on the given parameter
(Inherited from ObjectFactory T .) |
![]() | CreateActivator |
Creates an object activator for the created type
(Inherited from ObjectFactory T .) |
![]() | CreateInstance |
Creates a new instance of the object
(Inherited from ObjectFactory T .) |
![]() | CreateNewObject |
Creates and returns a new object
(Inherited from ObjectFactory T .) |
![]() | CreateNewTypedObject |
Creates and returns a new object
(Inherited from ObjectFactory T .) |
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | Serves as a hash function for a particular type. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Extension Methods
Name | Description | |
---|---|---|
![]() | 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.) |
Properties
Name | Description | |
---|---|---|
![]() | CreatedType |
Returns the type created by this factory
(Inherited from ObjectFactory T .) |
![]() | Initializer |
Object initialization function
(Inherited from ObjectFactory T .) |
![]() | Singleton |
Singleton instance of the created object type
(Inherited from ObjectFactory T .) |
![]() | UseCompiledLambda |
If true, the compiled lambda expression is used to create new objects. Set to true if the factory will be creating a lot of objects
(Inherited from ObjectFactory T .) |
See Also