Click or drag to resize

AccessConstraintHelper.GetConstrainedLinkEnd Method

Gets the object at the end of the link to which a specified constraint is applied.

Namespace:  AGI.Foundation.Access
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public static IServiceProvider GetConstrainedLinkEnd(
	ILinkConstraint constraint
)

Parameters

constraint
Type: AGI.Foundation.Access.ILinkConstraint
The constraint.

Return Value

Type: IServiceProvider
The object at the end of the link to which the constraint is applied.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when constraint is null.
ServiceNotAvailableException Thrown when the ConstrainedLink property of constraint does not provide ILinkService.
See Also