public VersionChecker( INugetService nugetService, AppSettings appSettings, IBoostApplicationContext boostApplicationContext) { _nugetService = nugetService; _appSettings = appSettings; _boostApplicationContext = boostApplicationContext; }
public async Task <GitLocalRepository?> GetLocalGitRepository( [Service] IGitLocalRepositoryService gitService, [Service] IBoostApplicationContext applicationContext, string?id, CancellationToken cancellationToken) { var path = applicationContext.WorkingDirectory.FullName; if (id is { })
public CliWrapWebShell( string shell, Action <ShellMessage> messageHandler, IBoostApplicationContext boostApplicationContext) { _shell = shell; _messageHandler = messageHandler; _boostApplicationContext = boostApplicationContext; _session = new(); }
public WebShell( string shell, Action <ShellMessage> messageHandler, IBoostApplicationContext boostApplicationContext) { _messageHandler = messageHandler; _boostApplicationContext = boostApplicationContext; CreateStartInfo(shell); _session = new(); }
public WorkspaceService( IWebShellFactory webShellFactory, IBoostApplicationContext applicationContext, IEnumerable <IFileContentTypeHandler> fileHandlers) { _webShellFactory = webShellFactory; _applicationContext = applicationContext; _fileHandlers = fileHandlers.OrderBy(x => x.Order); _contentTypeProvider = new FileExtensionContentTypeProvider(); _contentTypeProvider.Mappings.Add(".dll", "boost/dll"); }
public WebShellFactory( IHubContext <ConsoleHub> hubContext, IDefaultShellService defaultShellService, IBoostApplicationContext applicationContext) { _hubContext = hubContext; _defaultShellService = defaultShellService; _applicationContext = applicationContext; _messageHandler = (msg) => { _hubContext.Clients.All.SendAsync("consoleData", msg); }; }
public ConsoleShellFactory( IDefaultShellService defaultShellService, IBoostApplicationContext boostApplicationContext) { _defaultShellService = defaultShellService; _boostApplicationContext = boostApplicationContext; _messageHandler = (msg) => { if (msg.Type == "info" || msg.Type == "error") { Console.WriteLine(msg.Message); } }; }
public ConsoleWebShellFactory( IDefaultShellService defaultShellService, IBoostApplicationContext applicationContext, IConsole console) { _defaultShellService = defaultShellService; _applicationContext = applicationContext; _messageHandler = (msg) => { if (msg?.Message is { }) { console.WriteLine(msg.Message); } };
public QuickActionsCommand(IBoostApplicationContext applicationContext) { _applicationContext = applicationContext; }
public BoostQueries(IBoostApplicationContext boostApplicationContext) { _boostApplicationContext = boostApplicationContext; }
public SnapshooterService(IBoostApplicationContext boostApplicationContext) { _boostApplicationContext = boostApplicationContext; }
public NugetService( IBoostApplicationContext boostApplicationContext) { _boostApplicationContext = boostApplicationContext; }
public OpenSolutionCommand(IBoostApplicationContext applicationContext) { _applicationContext = applicationContext; }