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