Click or drag to resize

AccessConstraintHelperGetConstrainedLinkEnd 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.2.419.0 (24.2.419.0)
Syntax
public static IServiceProvider GetConstrainedLinkEnd(
	ILinkConstraint constraint
)

Parameters

constraint
Type: AGI.Foundation.AccessILinkConstraint
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 .
ServiceNotAvailableException Thrown when the ConstrainedLink property of constraint does not provide ILinkService.
See Also