Click or drag to resize

NullObjectFactoryTObject Class

Inheritance Hierarchy
SystemObject
  BionicCode.Utilities.Net.Standard.GenericFactoryTObject
    BionicCode.Utilities.Net.Standard.GenericNullObjectFactoryTObject

Namespace:  BionicCode.Utilities.Net.Standard.Generic
Assembly:  BionicCode.Utilities.Net.Standard (in BionicCode.Utilities.Net.Standard.dll) Version: 1.0.3
Syntax
public class NullObjectFactory<TObject> : Factory<TObject>
where TObject : INullObject

Type Parameters

TObject

The NullObjectFactoryTObject type exposes the following members.

Constructors
  NameDescription
Public methodNullObjectFactoryTObject(FuncTObject)
Initializes the NullObjectFactoryTObject using a factory method delegate using Singleton.
Public methodNullObjectFactoryTObject(IFactoryTObject)
Initializes the NullObjectFactoryTObject using a IFactoryTCreate and its FactoryMode to set the FactoryMode.
Public methodNullObjectFactoryTObject(FuncTObject, FactoryMode)
Initializes the NullObjectFactoryTObject using a factory method delegate using Singleton.
Top
Properties
Methods
  NameDescription
Public methodCreate
Creates the instance.
(Inherited from FactoryTObject.)
Public methodCreate(Object)
Creates the instance, allowing arguments.
(Inherited from FactoryTObject.)
Protected methodCreateInstance
Implementation to create and initialize instances of type TObject.
(Overrides FactoryTObjectCreateInstance.)
Protected methodCreateInstance(Object)
Implementation to create and initialize instances of type TObject.
(Overrides FactoryTObjectCreateInstance(Object).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also
https://github.com/BionicCode/BionicCode.Net/blob/master/README.md