IdeaBlade Application Framework
GetAllInstances Method
See Also  Send Feedback
Caliburn.Micro.Extensions Namespace > FrameworkBootstrapper Class : GetAllInstances Method



serviceType
The service to locate.
Locates all instances of the supplied service.

Syntax

Visual Basic (Declaration) 
Protected Overrides Function GetAllInstances( _
   ByVal serviceType As Type _
) As IEnumerable(Of Object)
Visual Basic (Usage)Copy Code
Dim instance As FrameworkBootstrapper
Dim serviceType As Type
Dim value As IEnumerable(Of Object)
 
value = instance.GetAllInstances(serviceType)
C# 
protected override IEnumerable<object> GetAllInstances( 
   Type serviceType
)
C++/CLI 
protected:
IEnumerable<Object^>^ GetAllInstances( 
   Type^ serviceType
) override 

Parameters

serviceType
The service to locate.

Return Value

The located services.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Reference

FrameworkBootstrapper Class
FrameworkBootstrapper Members
Base Implementation in GetAllInstances

© 2012 All Rights Reserved.