Cleanup
This commit is contained in:
parent
3659e357f2
commit
fcb5bf0a68
@ -1,4 +1,6 @@
|
|||||||
using System.Text.RegularExpressions;
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Runtime.Versioning;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
using CShocker.Devices.Abstract;
|
using CShocker.Devices.Abstract;
|
||||||
using CShocker.Devices.Additional;
|
using CShocker.Devices.Additional;
|
||||||
using CShocker.Devices.APIs;
|
using CShocker.Devices.APIs;
|
||||||
@ -60,6 +62,7 @@ public static class Setup
|
|||||||
AddApisWorkflow(ref c);
|
AddApisWorkflow(ref c);
|
||||||
break;
|
break;
|
||||||
case ConsoleKey.D3:
|
case ConsoleKey.D3:
|
||||||
|
// ReSharper disable once PossibleInvalidCastExceptionInForeachLoop Only returning OpenShockApi Objects
|
||||||
foreach (OpenShockApi api in c.Apis.Where(a => a is OpenShockApi))
|
foreach (OpenShockApi api in c.Apis.Where(a => a is OpenShockApi))
|
||||||
{
|
{
|
||||||
Configuration configuration = c;
|
Configuration configuration = c;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user