Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the list of service objects for a given service type.
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Overrides Function GetServices ( _
serviceType As Type _
) As IEnumerable(Of Object)
'Usage
Dim instance As ControllerServices
Dim serviceType As Type
Dim returnValue As IEnumerable(Of Object)
returnValue = instance.GetServices(serviceType)
public override IEnumerable<Object> GetServices(
Type serviceType
)
public:
virtual IEnumerable<Object^>^ GetServices(
Type^ serviceType
) override
abstract GetServices :
serviceType:Type -> IEnumerable<Object>
override GetServices :
serviceType:Type -> IEnumerable<Object>
public override function GetServices(
serviceType : Type
) : IEnumerable<Object>
Parameters
serviceType
Type: System.TypeThe type of service.
Return Value
Type: System.Collections.Generic.IEnumerable<Object>
The list of service objects of the specified type, or an empty list if the service is not found.