Click or drag to resize

AxesHelperGetAxes Method (IServiceProvider, String)

Gets the Axes from 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 Axes GetAxes(
	IServiceProvider provider,
	string exceptionMessage
)

Parameters

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

Return Value

Type: Axes
The Axes from the IOrientationAxesService.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when provider is .
ServiceNotAvailableException Thrown when provider does not provide IOrientationAxesService.
See Also