Factory<TObject> Class |
Namespace: BionicCode.Utilities.Net.Standard.Generic
The Factory<TObject> type exposes the following members.
Name | Description | |
---|---|---|
![]() | Factory<TObject>() |
Initializes the Factory to create instances using Singleton.
|
![]() | Factory<TObject>(FactoryMode) |
Initializes instance.
|
Name | Description | |
---|---|---|
![]() | FactoryMode |
Configures the lifetime scope of the created object instances.
Default is Singleton |
Name | Description | |
---|---|---|
![]() | Create() |
Creates the instance.
|
![]() | Create(Object[]) |
Creates the instance, allowing arguments.
|
![]() | CreateInstance() |
Implementation to create and initialize instances of type TObject.
|
![]() | CreateInstance(Object[]) |
Implementation to create and initialize instances of type TObject.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | ToDictionary() | Overloaded.
Coverts any type to a Dictionary<TKey, TValue>, where the TKey is the member name and TValue the member's value.
(Defined by HelperExtensions.) |
![]() | ToDictionary() | Overloaded.
Coverts any type to a Dictionary<TKey, TValue>, where the TKey is the member name and TValue the member's value.
(Defined by HelperExtensions.) |