This topic has not yet been rated - Rate this topic

ResolveAll Method (Type)

Return instances of all registered types requested.

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

IEnumerable<Object> ResolveAll(
	Type t
)

Parameters

t
Type: System..::.Type
The type requested.

Return Value

Set of objects of type t.

This method is useful if you've registered multiple types with the same Type but different names.

Be aware that this method does NOT return an instance for the default (unnamed) registration.

Did you find this helpful?
(1500 characters remaining)