mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 10:58:28 +00:00
Remove redundant IRoutingInputsOutputs filtering in route mapping loops
This commit is contained in:
parent
36c15b8d95
commit
14cd082076
1 changed files with 2 additions and 2 deletions
|
|
@ -348,9 +348,9 @@ namespace PepperDash.Essentials.Core
|
|||
var sources = DeviceManager.AllDevices.OfType<IRoutingOutputs>()
|
||||
.Where(d => !(d is IRoutingInputsOutputs)).ToList();
|
||||
|
||||
foreach (var sink in sinks.Where(d => !(d is IRoutingInputsOutputs)))
|
||||
foreach (var sink in sinks)
|
||||
{
|
||||
foreach (var source in sources.Where(d => !(d is IRoutingInputsOutputs)))
|
||||
foreach (var source in sources)
|
||||
{
|
||||
foreach (var inputPort in sink.InputPorts)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue