The dependency injection container.
| C# | Visual Basic | Visual C++ |
public class ObjectContainer : IObjectContainer
Public Class ObjectContainer _ Implements IObjectContainer
public ref class ObjectContainer : IObjectContainer
| All Members | Constructors | Methods | |||
| Icon | Member | Description |
|---|---|---|
| ObjectContainer(Object) |
Initializes a new instance of the ObjectContainer class.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(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.) | |
| RegisterInstance<(Of <(TInterface>)>)(TInterface) |
Register an instance with the container.
| |
| RegisterInstance<(Of <(TInterface>)>)(String, TInterface) |
Register an instance with the container.
| |
| RegisterInstance<(Of <(TInterface>)>)(TInterface, Boolean) |
Register an instance with the container.
| |
| RegisterInstance<(Of <(TInterface>)>)(String, TInterface, Boolean) |
Register an instance with the container.
| |
| RegisterType<(Of <(TFrom, TTo>)>)()()() |
Register a type mapping with the container.
| |
| RegisterType<(Of <(TFrom, TTo>)>)(Boolean) |
Register a type mapping with the container.
| |
| RegisterType<(Of <(TFrom, TTo>)>)(String) |
Register a type mapping with the container.
| |
| RegisterType<(Of <(TFrom, TTo>)>)(String, Boolean) |
Register a type mapping with the container.
| |
| Resolve<(Of <(T>)>)()()() |
Resolve an instance of the default requested type from the container.
| |
| Resolve<(Of <(T>)>)(String) |
Resolve an instance of the default requested type from the container.
| |
| ToString()()() | (Inherited from Object.) |
| Object | |
| ObjectContainer | |