Click or drag to resize

GpsReceiverHelperGetGpsReceiverService Method (IServiceProvider)

Gets the IGpsReceiverService provided by an object.

Namespace:  AGI.Foundation.Navigation
Assembly:  AGI.Foundation.Navigation (in AGI.Foundation.Navigation.dll) Version: 23.2.417.0 (23.2.417.0)
Syntax
public static IGpsReceiverService GetGpsReceiverService(
	IServiceProvider provider
)

Parameters

provider
Type: SystemIServiceProvider
The object from which to obtain the service.

Return Value

Type: IGpsReceiverService
The service provided by the object.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when provider is .
ServiceNotAvailableException Thrown when provider does not provide IGpsReceiverService.
See Also