C# Class SplitPipeline.Job

Exibir arquivo Open project: nightroman/SplitPipeline Class Usage Examples

Public Methods

Method Description
BeginInvoke ( Queue queue, int count ) : void

Starts the pipeline script async.

Close ( ) : void

Closes the pipeline and the runspace.

EndInvoke ( ) : PSDataCollection

Waits for the pipeline to finish and returns its output.

InvokeBegin ( string begin, string script ) : Collection

Invokes the begin script, if any, sets the pipeline script once, returns the begin output.

InvokeEnd ( string script ) : Collection

Invokes the end script and returns its output.

InvokeFinally ( string script ) : void

Invokes the final script, its output is ignored.

Job ( System.Management.Automation.Runspaces.Runspace runspace ) : System

New job with its runspace. The runspace gets opened.

Method Details

BeginInvoke() public method

Starts the pipeline script async.
public BeginInvoke ( Queue queue, int count ) : void
queue Queue
count int
return void

Close() public method

Closes the pipeline and the runspace.
public Close ( ) : void
return void

EndInvoke() public method

Waits for the pipeline to finish and returns its output.
public EndInvoke ( ) : PSDataCollection
return PSDataCollection

InvokeBegin() public method

Invokes the begin script, if any, sets the pipeline script once, returns the begin output.
public InvokeBegin ( string begin, string script ) : Collection
begin string
script string
return Collection

InvokeEnd() public method

Invokes the end script and returns its output.
public InvokeEnd ( string script ) : Collection
script string
return Collection

InvokeFinally() public method

Invokes the final script, its output is ignored.
public InvokeFinally ( string script ) : void
script string
return void

Job() public method

New job with its runspace. The runspace gets opened.
public Job ( System.Management.Automation.Runspaces.Runspace runspace ) : System
runspace System.Management.Automation.Runspaces.Runspace
return System