Moves to reflection based mechanism for loading device factories at boot (not working)

This commit is contained in:
Neil Dorin
2020-04-22 17:20:29 -06:00
parent 4f6ae386b4
commit 911bd8daba
3 changed files with 51 additions and 17 deletions

View File

@@ -71,9 +71,22 @@ namespace PepperDash.Essentials
assembly = Assembly.GetExecutingAssembly();
break;
}
case ("PepperDashEssentialsBase.dll"):
case ("PepperDash_Essential_Core.dll"):
{
version = Global.AssemblyVersion;
assembly = System.Reflection
break;
}
case ("PepperDash_Essentials_DM.dll"):
{
version = Global.AssemblyVersion;
assembly = Assembly.GetExecutingAssembly();
break;
}
case ("Essentials Devices Common.dll"):
{
version = Global.AssemblyVersion;
assembly = Assembly.GetExecutingAssembly();
break;
}
case ("PepperDash_Core.dll"):

View File

@@ -166,7 +166,7 @@ namespace PepperDash.Essentials.Devices.Common.SoftCodec
{
public BlueJeansPcFactory()
{
TypeNames = new List<string>() { "mockvc" };
TypeNames = new List<string>() { "bluejeanspc" };
}
public override EssentialsDevice BuildDevice(DeviceConfig dc)