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: 24.2.419.0 (24.2.419.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