C# Класс PecanWaffle.PowerShellInvoker

Показать файл Открыть проект

Private Properties

Свойство Тип Описание
GetErrorStringFrom string
GetErrorStringFrom string

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GetErrorStringFrom ( PowerShell instance ) : string
GetErrorStringFrom ( PowerShell PsInstance, bool &hadErrors ) : string

Описание методов

EnsureInstallPwScriptInvoked() публичный Метод

public EnsureInstallPwScriptInvoked ( string extensionInstallDir ) : void
extensionInstallDir string
Результат void

GetStringFrom() публичный Метод

public GetStringFrom ( Collection invokeResult ) : string
invokeResult Collection
Результат string

PowerShellInvoker() публичный Метод

public PowerShellInvoker ( ) : Microsoft.VisualStudio.Shell
Результат Microsoft.VisualStudio.Shell

RunPwCreateProjectScript() публичный Метод

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
Результат void

WriteToOutputWindow() публичный Метод

public WriteToOutputWindow ( string message ) : void
message string
Результат void