DependencyOverrides Class
Collapse the table of content
Expand the table of content

DependencyOverrides Class

A convenience form of DependencyOverride that lets you specify multiple parameter overrides in one shot rather than having to construct multiple objects.

Namespace:  Microsoft.Practices.Unity
Assembly:  Microsoft.Practices.Unity (in Microsoft.Practices.Unity.dll)

public class DependencyOverrides : OverrideCollection<DependencyOverride, Type, Object>

This class isn't really a collection, it just implements IEnumerable so that we get use of the nice C# collection initializer syntax.
© 2015 Microsoft