C# 클래스 NuGetConsole.Host.PowerShell.Implementation.PowerShellHost

상속: IHost, IPathExpansion, IDisposable
파일 보기 프로젝트 열기: themotleyfool/NuGet

Private Properties

프로퍼티 타입 설명
AddPathToEnvironment void
DisplayDisclaimerAndHelpText void
EvaluatePrompt string
ExecuteInitScripts void
Initialize void
UpdateWorkingDirectory void
WriteErrorLine void
WriteLine void

공개 메소드들

메소드 설명
Abort ( ) : void
Dispose ( ) : void
Execute ( IConsole console, string command ) : bool
GetAvailableProjects ( ) : string[]
GetExpansions ( string line, string lastWord ) : string[]
GetPackageSources ( ) : string[]
GetPathExpansions ( string line ) : SimpleExpansion
SetDefaultProjectIndex ( int selectedIndex ) : void
SetDefaultRunspace ( ) : void

보호된 메소드들

메소드 설명
ExecuteHost ( string fullCommand, string command ) : bool
OnExecuteCommandEnd ( ) : void
PowerShellHost ( string name, IRunspaceManager runspaceManager ) : System
ReportError ( ErrorRecord record ) : void
ReportError ( Exception exception ) : void
SetSyncModeOnHost ( bool isSync ) : void

비공개 메소드들

메소드 설명
AddPathToEnvironment ( string path ) : void
DisplayDisclaimerAndHelpText ( ) : void
EvaluatePrompt ( ) : string
ExecuteInitScripts ( ) : void
Initialize ( IConsole console ) : void
UpdateWorkingDirectory ( ) : void
WriteErrorLine ( string message ) : void
WriteLine ( string message = "" ) : void

메소드 상세

Abort() 공개 메소드

public Abort ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Execute() 공개 메소드

public Execute ( IConsole console, string command ) : bool
console IConsole
command string
리턴 bool

ExecuteHost() 보호된 추상적인 메소드

protected abstract ExecuteHost ( string fullCommand, string command ) : bool
fullCommand string
command string
리턴 bool

GetAvailableProjects() 공개 메소드

public GetAvailableProjects ( ) : string[]
리턴 string[]

GetExpansions() 공개 메소드

public GetExpansions ( string line, string lastWord ) : string[]
line string
lastWord string
리턴 string[]

GetPackageSources() 공개 메소드

public GetPackageSources ( ) : string[]
리턴 string[]

GetPathExpansions() 공개 메소드

public GetPathExpansions ( string line ) : SimpleExpansion
line string
리턴 SimpleExpansion

OnExecuteCommandEnd() 보호된 메소드

protected OnExecuteCommandEnd ( ) : void
리턴 void

PowerShellHost() 보호된 메소드

protected PowerShellHost ( string name, IRunspaceManager runspaceManager ) : System
name string
runspaceManager IRunspaceManager
리턴 System

ReportError() 보호된 메소드

protected ReportError ( ErrorRecord record ) : void
record System.Management.Automation.ErrorRecord
리턴 void

ReportError() 보호된 메소드

protected ReportError ( Exception exception ) : void
exception System.Exception
리턴 void

SetDefaultProjectIndex() 공개 메소드

public SetDefaultProjectIndex ( int selectedIndex ) : void
selectedIndex int
리턴 void

SetDefaultRunspace() 공개 메소드

public SetDefaultRunspace ( ) : void
리턴 void

SetSyncModeOnHost() 보호된 메소드

protected SetSyncModeOnHost ( bool isSync ) : void
isSync bool
리턴 void