IDependencyScope.GetServices Method (Type)


Retrieves a collection of services from the scope.

Namespace:   System.Web.Http.Dependencies
Assembly:  System.Web.Http (in System.Web.Http.dll)


IEnumerable<object> GetServices(
    Type serviceType
IEnumerable<Object^>^ GetServices(
    Type^ serviceType
abstract GetServices : 
        serviceType:Type -> IEnumerable<Object>
Function GetServices (
    serviceType As Type
) As IEnumerable(Of Object)


  • serviceType
    Type: System.Type

    The collection of services to be retrieved.

Return Value

Type: System.Collections.Generic.IEnumerable<Object>

The retrieved collection of services.

See Also

IDependencyScope Interface
System.Web.Http.Dependencies Namespace

Return to top