Exemplo n.º 1
0
 public AzureInstallationService(IAzureService azureService,
                                 IPowerShellService powerShellService, ILog logger)
 {
     this.azureService      = azureService;
     this.powerShellService = powerShellService;
     this.logger            = logger;
 }
Exemplo n.º 2
0
        public SignalRService(IMachineService machineService, IPowerShellService powerShellService)
        {
            _machineService    = machineService;
            _powerShellService = powerShellService;

            _connection = BuildConnection();
            RegisterEvents(_connection);
        }
Exemplo n.º 3
0
        private PowerCleanProjectCommand(AsyncPackage package, IMenuCommandService commandService, IPowerShellService powerShellService, ILogger logger)
        {
            _package           = package;
            _commandService    = commandService;
            _powerShellService = powerShellService;
            _logger            = logger;

            InitializeServices();
        }
Exemplo n.º 4
0
        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();
        }
Exemplo n.º 5
0
        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);
        }
Exemplo n.º 6
0
 public PsaasController(IPowerShellService psService)
 {
     _psService = psService;
 }
Exemplo n.º 7
0
 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;
 }
Exemplo n.º 10
0
 public PackageRepository(IPowerShellService powerShellService)
 {
     this.powerShellService = powerShellService;
 }
Exemplo n.º 11
0
 public CleanupService(ISettingService settingService, IPowerShellService powerShellService)
 {
     this.settingService    = settingService;
     this.powerShellService = powerShellService;
 }
Exemplo n.º 12
0
 public SettingService(IPowerShellService powerShellService)
 {
     this.powerShellService = powerShellService;
 }