iocommander input and virtual input

This commit is contained in:
meelstorm
2025-07-21 12:07:33 +02:00
parent cd70088d9a
commit e761b24c95
21 changed files with 418 additions and 21 deletions

View File

@@ -1,6 +1,7 @@
using Inspectron.Settings;
using Ninject;
using Ninject.Extensions.ChildKernel;
using Serilog;
namespace VisionBuilder.UI.Common;
@@ -28,10 +29,18 @@ public static class Extensions
var serviceTypes = self.GetAll(typeof(IVisionBuilderModule)).Select(x => (IVisionBuilderModule)x).ToList();
foreach (var service in serviceTypes)
{
if (service != null)
try
{
service.InitializeModule();
if (service != null)
{
service.InitializeModule();
}
}
catch (Exception e)
{
Log.Error($"Error initializing module {service.GetType().Name}: {e.Message}", e);
}
}
}