feat: RKST-131 add IMatrixRouting interfaces

This commit is contained in:
Andrew Welker
2024-03-08 11:16:48 -06:00
parent b0e9ecf29e
commit 9ad151bd7e
6 changed files with 62 additions and 1 deletions

View File

@@ -357,6 +357,7 @@ namespace PepperDash.Essentials
try
{
types = assy.GetTypes();
Debug.Console(1, $"Got types for assembly {assy.GetName().Name}");
}
catch (TypeLoadException e)
{
@@ -370,6 +371,10 @@ namespace PepperDash.Essentials
{
try
{
Debug.Console(0, $"Checking if type {type.Name} is IPluginDeviceFactory");
Debug.Console(0, $"{type.Name} is plugin factory: {typeof(IPluginDeviceFactory).IsAssignableFrom(type) && !type.IsAbstract}");
if (typeof (IPluginDeviceFactory).IsAssignableFrom(type) && !type.IsAbstract)
{
var plugin =