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