private static async Task ServeAsync() { Log.WriteLine("Starting Server"); _locations.Add(new ComponentLocation(AssemblyExtensions.ApplicationDirectory, recursive: false, watchChanges: false)); _host = CompositionHost.InitializeNewHost(null, _locations); _host.GetSharedExportedValue <ScheduledActivityManager>(); _gllManager = new GllManager(_host); await _gllManager.InitializeAsync(); // setup _connectionManager = new ConnectionTypeManager(_gllManager); _httpServer = new WebServiceServer(); LoadConfigurations(GllLocation); _systemTrayManager.InstallTrayIcon(); Log.WriteLine("Server Ready!"); }
public ConnectionTypeManager(GllManager gllManager) { GLLManager = gllManager; }
public GLLInstance(GllManager gllManager, LocalGllComponentExecutable component) { _gllManager = gllManager; _component = component; }