This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
|The latest Unity Application Block information can be found at the Unity Application Block site.|
This strategy implements the logic that will call container.ResolveAll when an array parameter is detected.
This attribute is used to mark properties and parameters as targets for injection.
Base class for attributes that can be placed on parameters or properties to specify how to resolve the value for that parameter or property.
A LifetimeManager that holds a weak reference to its managed instance.
A InjectionParameterValue that lets you specify that an instance of a generic type parameter should be resolved.
A InjectionParameterValue that lets you specify that an array containing the registered instances of a generic type parameter should be resolved.
A Unity container extension that allows you to configure which constructors, properties, and methods get injected via an API rather than through attributes.
A class that holds the collection of information for a constructor, so that the container can be configured to call this constructor.
This attribute is used to indicate which constructor to choose when the container attempts to build a type.
Base class for objects that can be used to configure what class members get injected by the container.
An InjectionMember that configures the container to call a method as part of buildup.
This attribute is used to mark methods that should be called when the container is building an object.
A class that holds on to the given value and provides the required IDependencyResolverPolicy when the container is configured.
A generic version of InjectionParameter that makes it a little easier to specify the type of the parameter.
Base type for objects that are used to configure parameters for constructor or method injection, or for getting the value to be injected into a property.
This class stores information about which properties to inject, and will configure the container accordingly.
Base class for Lifetime managers - classes that control how and when instances are created by the Unity container.
An implementation of ILifetimeFactoryPolicy that creates instances of the type of the given Lifetime Manager by resolving them through the container.
An EventArgs class that holds a string Name.
A LifetimeManager that holds the instances given to it, keeping one instance per thread.
Event argument class for the Registering event.
Event argument class for the RegisteringInstance event.
The exception thrown by the Unity container when an attempt to resolve a dependency fails.
A class that stores a type, and generates a resolver object that resolves all the named instances or the type registered in a container.
A generic version of ResolvedArrayParameter for convenience when creating them by hand.
A class that stores a name and type, and generates a resolver object that resolves the parameter via the container.
A generic version of ResolvedParameter for convenience when creating them by hand.
Base class for Lifetime managers which need to synchronize calls to GetValue().
An LifetimeManager implementation that does nothing, thus ensuring that instances are created new every time.
A base class for implementing InjectionParameterValue classes that deal in explicit types.
A simple, extensible dependency injection container.
A base class for implmenting IUnityContainer that provides reasonable implementations for most of the overloads defined by the interface. The overloads all call down to the non-generic versions of the methods with the most parameters.
Base class for all UnityContainer extension objects.
This extension supplies the default behavior of the UnityContainer API by handling the context events and setting policies.
This extension installs the default strategies and policies into the container to implement the standard behavior of the Unity container.