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