Unity returns the same instance each time the Resolve(...) method is called or when the dependency mechanism injects the instance into other classes.
A special lifetime manager which works like TransientLifetimeManager, except container remembers all Disposable objects it created. Once container is disposed all these objects are disposed as well.
A LifetimeManager that holds a weak reference to it's managed instance.
A special lifetime manager which works like ContainerControlledLifetimeManager, except that in the presence of child containers, each child gets it's own instance of the object, instead of sharing one in the common parent.
Base class for all lifetime managers - classes that control how and when instances are created by the Unity container.
This is a custom lifetime manager that acts like TransientLifetimeManager, but also provides a signal to the default build plan, marking the type so that instances are reused across the build up object graph.
Singleton lifetime creates globally unique singleton. Any Unity container tree (parent and all the children) is guaranteed to have only one global singleton for the registered type.
Base class for Lifetime managers which need to synchronize calls to GetValue(ILifetimeContainer).
An LifetimeManager implementation that does nothing, thus ensuring that instances are created new every time.
This interface marks all lifetime managers compatible with RegisterFactory(Type, String, Func<IUnityContainer, Type, String, Object>, IFactoryLifetimeManager) registration.
This interface marks all lifetime managers compatible with RegisterInstance(Type, String, Object, IInstanceLifetimeManager) registration.
Represents a lifetime container.
This interface marks all lifetime managers compatible with RegisterType(Type, Type, String, ITypeLifetimeManager, InjectionMember) registration.