Click or drag to resize

PointHelperGetOptionalLocationPointService Method

Gets the ILocationPointService provided by an object, or if the service does not exist.

Namespace:  AGI.Foundation.Geometry
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public static ILocationPointService GetOptionalLocationPointService(
	IServiceProvider provider
)

Parameters

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

Return Value

Type: ILocationPointService
The service provided by the object, or if the service does not exist.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when provider is .
See Also