public InstallationSetChangedEventHandler(IInstallationSetManager installationSetManager) { if (installationSetManager == null) { throw new ArgumentNullException(nameof(installationSetManager)); } _installationSetManager = installationSetManager; }
public DebugModuleEventHandler(IInstallationSetManager installationSetManager, ILogger <DebugModuleEventHandler> logger = null) { if (installationSetManager == null) { throw new ArgumentNullException(nameof(installationSetManager)); } _installationSetManager = installationSetManager; _logger = logger; }
private static async Task InitializeInstallationSetManagerAsync(IInstallationSetManager installationSetManager, IServiceProvider serviceProvider) { var messageDispatcher = serviceProvider.GetRequiredService <IMessageDispatcher>(); Console.WriteLine("Performing query for running debug modules."); var queryResult = await messageDispatcher.QueryAsync <IEnumerable <DebugModuleProperties> >(cancellation : default);