Obtains a list of all buses directly or indirectly connected to FromBus,
so long as they are connected in a fashion that does not rely upon the presence of any elements of
BusesToExclude
Namespace: ElecNetKit.NetworkModellingAssembly: ElecNetKit.Core (in ElecNetKit.Core.dll) Version: 1.1.4771.27370 (1.1.0.0)
Syntax
public static IEnumerable<Bus> TraceWithoutCrossingBuses( Bus FromBus, IEnumerable<Bus> BusesToExclude )
Parameters
- FromBus
- Type: ElecNetKit.NetworkModelling Bus
The Bus to trace from.
- BusesToExclude
- Type:
System.Collections.Generic IEnumerable Bus
A set of Buses that should be avoided in the trace operation.
Return Value
A list of all buses directly or indirectly connected to FromBus, so long as connection is not through any element in BusesToExclude.See Also