ObjectContainer

Namespace: uModUtilities

Assembly: uMod.Core.dll

Inheritance ObjectBaseContainer ObjectContainer

Implements IContextContainer, IImplicitContainer, IExplicitContainer, IDisposable, IObjectContainer

Summary

Container of arbitrary objects

Constructors

Name

Summary

ObjectContainer (Application)

Create a new instance of the ObjectContainer class

Methods

Name

Summary

Bind (Type, Object)

Bind specified object to container

Bind<T> (T)

Bind specified object to container

Bind<T> (IEnumerable<T>)

Bind multiple objects of generic type to container

Dispose ()

Dispose of container

Resolved (Type)

Determine if specified type is resolved within container

Resolved (String)

Determine if specified type name or alias is resolved within container

Resolved (Object)

Determine if specified object is resolved within container

Resolved<T> ()

Determine if generic type is resolved within container

Resolved (Type, Object)

Determine if specified object is resolved within container

TryGetObjects (Type, out IEnumerable<Object>)

TryGetObjects<T> (Type, out IEnumerable<T>)

Unbind (Type)

Unbind all objects of specified type from container

Unbind (Type, Object)

Unbind specified object from container

Unbind (Object)

Unbind specified object from container

Unbind<T> ()

Unbind all objects of generic type from container

Unbind<T> (T)

Unbind specified object from container

Unbind<T> (IEnumerable<T>)

Unbind multiple objects of generic type to container