Visual Basic (Declaration) | |
---|---|
Public Shared Function RetrieveAll(Of T)() As IEnumerable(Of T) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim value As IEnumerable(Of T) value = ServiceLocator.RetrieveAll(Of T)() |
C# | |
---|---|
public static IEnumerable<T> RetrieveAll<T>() |
C++/CLI | |
---|---|
public: static IEnumerable<T^>^ RetrieveAllgeneric<typename T> (); |
Type Parameters
- T
- They type to retrieve.
Return Value
The new child container.A child container shares the parent's configuration, but can be configured with different settings or lifetime.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7