mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-08 09:15:06 +00:00
feat: RKST-131 add IMatrixRouting interfaces
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user