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