This topic has not yet been rated - Rate this topic

Microsoft.Practices.Unity Namespace

  Class Description
Ee650325.pubclass(en-us,PandP.20).gif ArrayResolutionStrategy
This strategy implements the logic that will call container.ResolveAll when an array parameter is detected.
Ee650325.pubclass(en-us,PandP.20).gif ChildContainerCreatedEventArgs
Event argument class for the ChildContainerCreated event.
Ee650325.pubclass(en-us,PandP.20).gif CompositeResolverOverride
A ResolverOverride that composites other ResolverOverride objects. The GetResolver operation then returns the resolver from the first child override that matches the current context and request.
Ee650325.pubclass(en-us,PandP.20).gif ContainerControlledLifetimeManager
A LifetimeManager that holds onto the instance given to it. When the ContainerControlledLifetimeManager is disposed, the instance is disposed with it.
Ee650325.pubclass(en-us,PandP.20).gif ContainerRegistration
Class that returns information about the types registered in a container.
Ee650325.pubclass(en-us,PandP.20).gif DependencyAttribute
This attribute is used to mark properties and parameters as targets for injection.
Ee650325.pubclass(en-us,PandP.20).gif DependencyOverride
A ResolverOverride class that overrides the value injected whenever there is a dependency of the given type, regardless of where it appears in the object graph.
Ee650325.pubclass(en-us,PandP.20).gif DependencyOverride<(Of <(T>)>)
A convenience version of DependencyOverride that lets you specify the dependency type using generic syntax.
Ee650325.pubclass(en-us,PandP.20).gif DependencyOverrides
A convenience form of DependencyOverride that lets you specify multiple parameter overrides in one shot rather than having to construct multiple objects.
Ee650325.pubclass(en-us,PandP.20).gif DependencyResolutionAttribute
Base class for attributes that can be placed on parameters or properties to specify how to resolve the value for that parameter or property.
Ee650325.pubclass(en-us,PandP.20).gif ExtensionContext
The ExtensionContext class provides the means for extension objects to manipulate the internal state of the UnityContainer.
Ee650325.pubclass(en-us,PandP.20).gif ExternallyControlledLifetimeManager
A LifetimeManager that holds a weak reference to it's managed instance.
Ee650325.pubclass(en-us,PandP.20).gif GenericParameter
A InjectionParameterValue that lets you specify that an instance of a generic type parameter should be resolved.
Ee650325.pubclass(en-us,PandP.20).gif GenericParameterBase
Base class for InjectionParameterValue subclasses that let you specify that an instance of a generic type parameter should be resolved.
Ee650325.pubclass(en-us,PandP.20).gif GenericResolvedArrayParameter
A InjectionParameterValue that lets you specify that an array containing the registered instances of a generic type parameter should be resolved.
Ee650325.pubclass(en-us,PandP.20).gif HierarchicalLifetimeManager
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.
Ee650325.pubclass(en-us,PandP.20).gif HierarchicalLifetimeStrategy
A strategy that handles Hierarchical lifetimes across a set of parent/child containers.
Ee650325.pubclass(en-us,PandP.20).gif InjectedMembers Obsolete.
A Unity container extension that allows you to configure which constructors, properties, and methods get injected via an API rather than through attributes.
Ee650325.pubclass(en-us,PandP.20).gif InjectionConstructor
A class that holds the collection of information for a constructor, so that the container can be configured to call this constructor.
Ee650325.pubclass(en-us,PandP.20).gif InjectionConstructorAttribute
This attribute is used to indicate which constructor to choose when the container attempts to build a type.
Ee650325.pubclass(en-us,PandP.20).gif InjectionFactory
A class that lets you specify a factory method the container will use to create the object.
Ee650325.pubclass(en-us,PandP.20).gif InjectionMember
Base class for objects that can be used to configure what class members get injected by the container.
Ee650325.pubclass(en-us,PandP.20).gif InjectionMethod
An InjectionMember that configures the container to call a method as part of buildup.
Ee650325.pubclass(en-us,PandP.20).gif InjectionMethodAttribute
This attribute is used to mark methods that should be called when the container is building an object.
Ee650325.pubclass(en-us,PandP.20).gif InjectionParameter
A class that holds on to the given value and provides the required IDependencyResolverPolicy when the container is configured.
Ee650325.pubclass(en-us,PandP.20).gif InjectionParameter<(Of <(TParameter>)>)
A generic version of InjectionParameter that makes it a little easier to specify the type of the parameter.
Ee650325.pubclass(en-us,PandP.20).gif InjectionParameterValue
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.
Ee650325.pubclass(en-us,PandP.20).gif InjectionProperty
This class stores information about which properties to inject, and will configure the container accordingly.
Ee650325.pubclass(en-us,PandP.20).gif LifetimeManager
Base class for Lifetime managers - classes that control how and when instances are created by the Unity container.
Ee650325.pubclass(en-us,PandP.20).gif LifetimeManagerFactory
An implementation of ILifetimeFactoryPolicy that creates instances of the type of the given Lifetime Manager by resolving them through the container.
Ee650325.pubclass(en-us,PandP.20).gif NamedEventArgs
An EventArgs class that holds a string Name.
Ee650325.pubclass(en-us,PandP.20).gif OptionalDependencyAttribute
An DependencyResolutionAttribute used to mark a dependency as optional - the container will try to resolve it, and return null if the resolution fails rather than throw.
Ee650325.pubclass(en-us,PandP.20).gif OptionalDependencyResolverPolicy
A IDependencyResolverPolicy that will attempt to resolve a value, and return null if it cannot rather than throwing.
Ee650325.pubclass(en-us,PandP.20).gif OptionalGenericParameter
A InjectionParameterValue that lets you specify that an instance of a generic type parameter should be resolved, providing the nullNothingnullptra null reference (Nothing in Visual Basic) value if resolving fails.
Ee650325.pubclass(en-us,PandP.20).gif OptionalParameter
A InjectionParameterValue that can be passed to RegisterType(Type, Type, String, LifetimeManager, array<InjectionMember>[]()[]) to configure a parameter or property as an optional dependency.
Ee650325.pubclass(en-us,PandP.20).gif OptionalParameter<(Of <(T>)>)
A generic version of OptionalParameter that lets you specify the type of the dependency using generics syntax.
Ee650325.pubclass(en-us,PandP.20).gif OverrideCollection<(Of <(TOverride, TKey, TValue>)>)
Base helper class for creating collections of ResolverOverride objects for use in passing a bunch of them to the resolve call. This base class provides the mechanics needed to allow you to use the C# collection initializer syntax.
Ee650325.pubclass(en-us,PandP.20).gif ParameterOverride
A ResolverOverride class that lets you override a named parameter passed to a constructor.
Ee650325.pubclass(en-us,PandP.20).gif ParameterOverrides
A convenience form of ParameterOverride that lets you specify multiple parameter overrides in one shot rather than having to construct multiple objects.
Ee650325.pubclass(en-us,PandP.20).gif PerResolveLifetimeManager
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.
Ee650325.pubclass(en-us,PandP.20).gif PerThreadLifetimeManager
A LifetimeManager that holds the instances given to it, keeping one instance per thread.
Ee650325.pubclass(en-us,PandP.20).gif PropertyOverride
A ResolverOverride that lets you override the value for a specified property.
Ee650325.pubclass(en-us,PandP.20).gif PropertyOverrides
A convenience form of PropertyOverride that lets you specify multiple property overrides in one shot rather than having to construct multiple objects.
Ee650325.pubclass(en-us,PandP.20).gif RegisterEventArgs
Event argument class for the Registering event.
Ee650325.pubclass(en-us,PandP.20).gif RegisterInstanceEventArgs
Event argument class for the RegisteringInstance event.
Ee650325.pubclass(en-us,PandP.20).gif ResolutionFailedException
The exception thrown by the Unity container when an attempt to resolve a dependency fails.
Ee650325.pubclass(en-us,PandP.20).gif ResolvedArrayParameter
A class that stores a type, and generates a resolver object that resolves all the named instances or the type registered in a container.
Ee650325.pubclass(en-us,PandP.20).gif ResolvedArrayParameter<(Of <(TElement>)>)
A generic version of ResolvedArrayParameter for convenience when creating them by hand.
Ee650325.pubclass(en-us,PandP.20).gif ResolvedArrayWithElementsResolverPolicy
An implementation of IDependencyResolverPolicy that resolves to to an array populated with the values that result from resolving other instances of IDependencyResolverPolicy.
Ee650325.pubclass(en-us,PandP.20).gif ResolvedParameter
A class that stores a name and type, and generates a resolver object that resolves the parameter via the container.
Ee650325.pubclass(en-us,PandP.20).gif ResolvedParameter<(Of <(TParameter>)>)
A generic version of ResolvedParameter for convenience when creating them by hand.
Ee650325.pubclass(en-us,PandP.20).gif ResolverOverride
Base class for all override objects passed in the Resolve(Type, String, array<ResolverOverride>[]()[]) method.
Ee650325.pubclass(en-us,PandP.20).gif SynchronizedLifetimeManager
Base class for Lifetime managers which need to synchronize calls to GetValue()()().
Ee650325.pubclass(en-us,PandP.20).gif TransientLifetimeManager
An LifetimeManager implementation that does nothing, thus ensuring that instances are created new every time.
Ee650325.pubclass(en-us,PandP.20).gif TypeBasedOverride
An implementation of ResolverOverride that acts as a decorator over another ResolverOverride. This checks to see if the current type being built is the right one before checking the inner ResolverOverride.
Ee650325.pubclass(en-us,PandP.20).gif TypeBasedOverride<(Of <(T>)>)
A convenience version of TypeBasedOverride that lets you specify the type to construct via generics syntax.
Ee650325.pubclass(en-us,PandP.20).gif TypedInjectionValue
A base class for implementing InjectionParameterValue classes that deal in explicit types.
Ee650325.pubclass(en-us,PandP.20).gif UnityContainer
A simple, extensible dependency injection container.
Ee650325.pubclass(en-us,PandP.20).gif UnityContainerExtension
Base class for all UnityContainer extension objects.
Ee650325.pubclass(en-us,PandP.20).gif UnityContainerExtensions
Extension class that adds a set of convenience overloads to the IUnityContainer interface.
Ee650325.pubclass(en-us,PandP.20).gif UnityDefaultBehaviorExtension
This extension supplies the default behavior of the UnityContainer API by handling the context events and setting policies.
Ee650325.pubclass(en-us,PandP.20).gif UnityDefaultStrategiesExtension
This extension installs the default strategies and policies into the container to implement the standard behavior of the Unity container.
Ee650325.pubclass(en-us,PandP.20).gif UnityServiceLocator
An implementation of IServiceLocator that wraps a Unity container.
  Interface Description
Ee650325.pubinterface(en-us,PandP.20).gif IUnityContainer
Interface defining the behavior of the Unity dependency injection container.
Ee650325.pubinterface(en-us,PandP.20).gif IUnityContainerExtensionConfigurator
Base interface for all extension configuration interfaces.
Did you find this helpful?
(1500 characters remaining)