Container
Namespace: uMod
Assembly: uMod.Core.dll
Inheritance ObjectBaseFactory Container
Implements IFactory, IContainer, IContextContainer, IImplicitContainer, IExplicitContainer, IDisposable, IImplicitSingletonContainer, IExplicitSingletonContainer
Summary
Generic container to wrap a context container which provides objects and singletons
Constructors
Name | Summary |
|---|---|
Container ( | Create a new instance of the Container class with the specified Application |
Properties
Name | Summary |
|---|---|
Added | Gets the Added event |
AddedType | Gets the AddedType event |
Removed | Gets the Removed event |
RemovedType | Gets the RemovedType event |
Methods
Name | Summary |
|---|---|
Add a converter to the container | |
Add a converter to the container | |
Alias the specified type with the specified name | |
Bind the specified object to the container keyed by the specified type | |
Bind ( | Bind the specified object to the container keyed by the object's type |
Bind the specified object to the container keyed by the object's type | |
Bind the specified object to the container keyed by the specified type | |
Bind< | Bind multiple objects to the container keyed by the generic type |
Bind the specified object to the container keyed by the specified type | |
BindSingleton ( | Bind the specified object to the container keyed by the object's type |
Bind the specified object to the container keyed by the object's type | |
Boot () | Boot the container |
Determine if the container providers a converter from one specified type to the other specified type | |
Dispose () | Dispose of the container |
GetContainers () | Get all providers provided by the container |
Make< | Make an object that implements the generic type |
Make an object that implements the generic type and has the specified alias | |
Make an object that implements the specified type and cast it to the generic type | |
Make an object that implements the specified type | |
Register ( | Register the specified provider with the container |
Resolve ( | Mark the specified type as resolved |
Resolve ( | Mark the specified types as resolved |
Resolved ( | Determine if the specified type is resolved |
Resolved ( | Determine if the specified type name is resolved |
Determine if the specified type and object is resolved | |
Resolved ( | Determine if the specified object is resolved |
Resolved< | Determine if the generic type is resolved |
Try to get an object with the specified type | |
TryGetObject ( | |
TryGetObjects< | |
TryGetObjects< | |
Try to get a singleton object with the specified type | |
Try to get a type with the specified name | |
TryGetTypes ( | |
Unbind the specified object from the container, keyed by the specified type | |
Unbind ( | Unbind all objects from the container that implement the specified type |
Unbind ( | Unbind the specified object from the container |
Unbind< | Unbind multiple objects from the container |
Unbind< | Unbind all objects from the container that implement the generic type |
Unbind the specified object from the container | |
Unregister ( | Unregister the specified provider with the container |
Unregister () | Unregister all providers from the container |