public AzureInstallationService(IAzureService azureService, IPowerShellService powerShellService, ILog logger) { this.azureService = azureService; this.powerShellService = powerShellService; this.logger = logger; }
public SignalRService(IMachineService machineService, IPowerShellService powerShellService) { _machineService = machineService; _powerShellService = powerShellService; _connection = BuildConnection(); RegisterEvents(_connection); }
private PowerCleanProjectCommand(AsyncPackage package, IMenuCommandService commandService, IPowerShellService powerShellService, ILogger logger) { _package = package; _commandService = commandService; _powerShellService = powerShellService; _logger = logger; InitializeServices(); }
private PowerCleanSolutionCommand(AsyncPackage package, IMenuCommandService commandService, IPowerShellService powerShellService, ILogger logger) { this._package = package ?? throw new ArgumentNullException(nameof(package)); _commandService = commandService ?? throw new ArgumentNullException(nameof(commandService)); _powerShellService = powerShellService ?? throw new ArgumentNullException(nameof(powerShellService)); _logger = logger; InitializeServices(); }
public ConsoleViewModel(IConsoleView view, IPowerShellService powerShellService) : base(view) { _powerShellService = powerShellService; _powerShellService.ErrorOutputted += (sender, e) => WriteError(e.Text); _powerShellService.WarningOutputted += (sender, e) => WriteWarning(e.Text); _powerShellService.VerboseOutputted += (sender, e) => WriteVerbose(e.Text); var style = (Style)Application.Current.FindResource("ConsoleWindowDocument"); Document.Style = style; style = (Style)Application.Current.FindResource("ConsoleWindowParagraph"); Document.Resources.Add(typeof(Paragraph), style); }
public PsaasController(IPowerShellService psService) { _psService = psService; }
public AzureCliHost(IPowerShellService powerShellService, ApplicationSettings settings) { this.powerShellService = powerShellService; this.settings = settings; }
public TaskManagerService(IPowerShellService powerShellService) { this.powerShellService = powerShellService; }
public UninstalledPackageProvider(IPowerShellService powerShellService) { this.powerShellService = powerShellService; }
public PackageRepository(IPowerShellService powerShellService) { this.powerShellService = powerShellService; }
public CleanupService(ISettingService settingService, IPowerShellService powerShellService) { this.settingService = settingService; this.powerShellService = powerShellService; }
public SettingService(IPowerShellService powerShellService) { this.powerShellService = powerShellService; }