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

Inheritance: IPowerShellSession
Mostra file Open project: andreaskoch/NuDeploy Class Usage Examples

Public Methods

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

Private Methods

Method Description
PipelineExecutorOnDataReady ( PipelineExecutor sender, ICollection data ) : void
PipelineExecutorOnErrorReady ( PipelineExecutor sender, ICollection data ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

ExecuteCommand() public method

public ExecuteCommand ( string scriptText ) : string
scriptText string
return string

ExecuteScript() public method

public ExecuteScript ( string scriptPath ) : string
scriptPath string
return string

PowerShellSession() public method

public PowerShellSession ( IPowerShellHost powerShellHost, IFilesystemAccessor filesystemAccessor ) : System
powerShellHost IPowerShellHost
filesystemAccessor IFilesystemAccessor
return System