GetServices(T) Method

Gets the collection of service instances.

Namespace:  Microsoft.Dynamics.Commerce.Runtime
Assembly:  Microsoft.Dynamics.Commerce.Runtime (in Microsoft.Dynamics.Commerce.Runtime.dll)

public IEnumerable<T> GetServices<T>()
where T : IService

Type Parameters

T

Return Value

Type: System.Collections.Generic.IEnumerable<T>
An instance to the service.

Community Additions

Show: