C# Class NuDeploy.Core.Services.Installation.PowerShell.PowerShellSession

Inheritance: IPowerShellSession
Afficher le fichier Open project: andreaskoch/NuDeploy Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
ExecuteCommand ( string scriptText ) : string
ExecuteScript ( string scriptPath ) : string
PowerShellSession ( IPowerShellHost powerShellHost, IFilesystemAccessor filesystemAccessor ) : System

Private Methods

Méthode Description
PipelineExecutorOnDataReady ( PipelineExecutor sender, ICollection data ) : void
PipelineExecutorOnErrorReady ( PipelineExecutor sender, ICollection data ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

ExecuteCommand() public méthode

public ExecuteCommand ( string scriptText ) : string
scriptText string
Résultat string

ExecuteScript() public méthode

public ExecuteScript ( string scriptPath ) : string
scriptPath string
Résultat string

PowerShellSession() public méthode

public PowerShellSession ( IPowerShellHost powerShellHost, IFilesystemAccessor filesystemAccessor ) : System
powerShellHost IPowerShellHost
filesystemAccessor IFilesystemAccessor
Résultat System