Description
Tests whether the input component and the target component form a cyclic dependency.
Syntax
[Visual Basic .NET] |
---|
Public Function HasCyclicDependency( _
ByVal Axes As IAgCrdnAxes _
) As Boolean
|
Parameters
See Also
Example
Check whether the reference axes has a cyclic dependency on another axes.
[C#] |
---|
//Check if the reference axes has a cyclic dependency on another axes.
if (axesRefTo.HasCyclicDependency(axes))
{
Console.WriteLine("The axes {0} has a cyclic dependency on axes {1}.", ((IAgCrdn)axesRefTo.GetAxes()).Name, ((IAgCrdn)axes).Name);
}
|
|
Check whether the reference axes has a cyclic dependency on another axes.
[Visual Basic .NET] |
---|
'Check if the reference axes has a cyclic dependency on another axes.
If axesRefTo.HasCyclicDependency(axes) Then
Console.WriteLine("The axes {0} has a cyclic dependency on axes {1}.", DirectCast(axesRefTo.GetAxes(), IAgCrdn).Name, DirectCast(axes, IAgCrdn).Name)
End If
|
|