示例#1
0
        void CreatePowerShellHost()
        {
            var clearConsoleHostCommand = new ClearPackageManagementConsoleHostCommand(this);

            powerShellHost =
                powerShellHostFactory.CreatePowerShellHost(
                    this.ScriptingConsole,
                    GetNuGetVersion(),
                    clearConsoleHostCommand,
                    new DTE());
        }
		void CreatePowerShellHost()
		{
			var clearConsoleHostCommand = new ClearPackageManagementConsoleHostCommand(this);
			powerShellHost = 
				powerShellHostFactory.CreatePowerShellHost(
					this.ScriptingConsole,
					GetNuGetVersion(),
					clearConsoleHostCommand,
					new DTE());
		}
		void CreateCommand()
		{
			fakeConsoleHost = new FakePackageManagementConsoleHost();
			command = new ClearPackageManagementConsoleHostCommand(fakeConsoleHost);
		}