NullObjectFactory<TObject> Class |
Namespace: BionicCode.Utilities.Net.Standard.Generic
public class NullObjectFactory<TObject> : Factory<TObject> where TObject : INullObject
The NullObjectFactory<TObject> type exposes the following members.
Name | Description | |
---|---|---|
![]() | NullObjectFactory<TObject>(Func<TObject>) |
Initializes the NullObjectFactory<TObject> using a factory method delegate using Singleton.
|
![]() | NullObjectFactory<TObject>(IFactory<TObject>) |
Initializes the NullObjectFactory<TObject> using a IFactory<TCreate> and its FactoryMode to set the FactoryMode.
|
![]() | NullObjectFactory<TObject>(Func<TObject>, FactoryMode) |
Initializes the NullObjectFactory<TObject> using a factory method delegate using Singleton.
|
Name | Description | |
---|---|---|
![]() | FactoryMode |
Configures the lifetime scope of the created object instances.
Default is Singleton (Inherited from Factory<TObject>.) |
Name | Description | |
---|---|---|
![]() | Create() |
Creates the instance.
(Inherited from Factory<TObject>.) |
![]() | Create(Object[]) |
Creates the instance, allowing arguments.
(Inherited from Factory<TObject>.) |
![]() | CreateInstance() |
Implementation to create and initialize instances of type TObject.
(Overrides Factory<TObject>.CreateInstance().) |
![]() | CreateInstance(Object[]) |
Implementation to create and initialize instances of type TObject.
(Overrides Factory<TObject>.CreateInstance(Object[]).) |
![]() | 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.) |