Click or drag to resize

AxesHelperGetOrientationAxesService Method (IServiceProvider, String)

Gets the IOrientationAxesService provided by an object.

Namespace:  AGI.Foundation.Geometry
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public static IOrientationAxesService GetOrientationAxesService(
	IServiceProvider provider,
	string exceptionMessage
)

Parameters

provider
Type: SystemIServiceProvider
The object from which to obtain the service.
exceptionMessage
Type: SystemString
An error message to include in the exception if the service is unavailable.

Return Value

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