ContextContainer
Namespace: uMod
Assembly: uMod.Core.dll
Inheritance ObjectBaseContainer ContextContainer
Implements IContextContainer, IImplicitContainer, IExplicitContainer, IDisposable, IContainer
Summary
Generic container to provide objects and singletons
Constructors
Name | Summary |
|---|---|
ContextContainer ( | Create a new instance of the ContextContainer class |
Properties
Name | Summary |
|---|---|
Mapping | Gets the context mapping |
ObjectProvider | Gets the object provider |
Methods
Name | Summary |
|---|---|
Create an alias for the specified type | |
Bind the specified object to the container keyed by the specified 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 the specified objects to the container keyed by the object's type |
Boot () | Boot the container |
Dispose () | Dispose of container |
GetContainers () | Get all providers provided by the container |
Register ( | Register a provider with the container |
Resolve ( | "Resolve" a type, adding it to the list of known types |
Resolved< | Determine if the generic type is resolved |
Resolved ( | Determine if the specified type is resolved |
Resolved ( | Determine if the specified alias or type name is resolved |
Determine if the specified type and object is resolved | |
Resolved ( | Determine if the specified object's type is resolved |
Try to get a type from the specified name | |
TryGetTypes ( | |
Unbind the specified object from the container when keyed by the specified type | |
Unbind ( | Unbind multiple objects from the container that implement the specified type |
Unbind ( | Unbind the specified object from the container |
Unbind< | Unbind multiple objects from the container when keyed by the generic type |
Unbind< | Unbind all objects from the container that implement the generic type |
Unbind the specified object from the container | |
Unregister ( | Unregister the specified provider from the container |
Unregister () | Unregister all providers from the container |