C# Class NuGetConsole.Host.PowerShellProvider.UnsupportedHost

This host is used when PowerShell 2.0 runtime is not installed in the system. It's basically a no-op host.
Inheritance: IHost
Show file Open project: monoman/NugetCracker

Public Methods

Method Description
Abort ( ) : void
Execute ( IConsole console, string command, object inputs ) : bool
GetAvailableProjects ( ) : string[]
GetPackageSources ( ) : string[]
Initialize ( IConsole console ) : void
SetDefaultProjectIndex ( int index ) : void
SetDefaultRunspace ( ) : void
UnsupportedHost ( ) : System

Method Details

Abort() public method

public Abort ( ) : void
return void

Execute() public method

public Execute ( IConsole console, string command, object inputs ) : bool
console IConsole
command string
inputs object
return bool

GetAvailableProjects() public method

public GetAvailableProjects ( ) : string[]
return string[]

GetPackageSources() public method

public GetPackageSources ( ) : string[]
return string[]

Initialize() public method

public Initialize ( IConsole console ) : void
console IConsole
return void

SetDefaultProjectIndex() public method

public SetDefaultProjectIndex ( int index ) : void
index int
return void

SetDefaultRunspace() public method

public SetDefaultRunspace ( ) : void
return void

UnsupportedHost() public method

public UnsupportedHost ( ) : System
return System