C# Class PecanWaffle.PowerShellInvoker

显示文件 Open project: ligershark/pecan-waffle

Private Properties

Property Type Description
GetErrorStringFrom string
GetErrorStringFrom string

Public Methods

Method Description
EnsureInstallPwScriptInvoked ( string extensionInstallDir ) : void
GetStringFrom ( Collection invokeResult ) : string
PowerShellInvoker ( ) : Microsoft.VisualStudio.Shell
RunPwCreateProjectScript ( string projectName, string destPath, string templateName, string templateSource, string templateSourceBranch, Hashtable properties ) : void
WriteToOutputWindow ( string message ) : void

Private Methods

Method Description
GetErrorStringFrom ( PowerShell instance ) : string
GetErrorStringFrom ( PowerShell PsInstance, bool &hadErrors ) : string

Method Details

EnsureInstallPwScriptInvoked() public method

public EnsureInstallPwScriptInvoked ( string extensionInstallDir ) : void
extensionInstallDir string
return void

GetStringFrom() public method

public GetStringFrom ( Collection invokeResult ) : string
invokeResult Collection
return string

PowerShellInvoker() public method

public PowerShellInvoker ( ) : Microsoft.VisualStudio.Shell
return Microsoft.VisualStudio.Shell

RunPwCreateProjectScript() public method

public RunPwCreateProjectScript ( string projectName, string destPath, string templateName, string templateSource, string templateSourceBranch, Hashtable properties ) : void
projectName string
destPath string
templateName string
templateSource string
templateSourceBranch string
properties System.Collections.Hashtable
return void

WriteToOutputWindow() public method

public WriteToOutputWindow ( string message ) : void
message string
return void