GetService(T) Method

Gets a service instance.

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

public T GetService<T>()
where T : IService

Type Parameters

T

Return Value

Type: T
An instance to the service.

Community Additions

Show: