C# Class SplitPipeline.SplitPipelineCommand

Inheritance: System.Management.Automation.PSCmdlet, IDisposable
显示文件 Open project: nightroman/SplitPipeline

Private Properties

Property Type Description
Close void
Enqueue void
Feed void
Take void
Wait void
WriteResults void

Public Methods

Method Description
Dispose ( ) : void

Protected Methods

Method Description
BeginProcessing ( ) : void
EndProcessing ( ) : void
ProcessRecord ( ) : void
StopProcessing ( ) : void

Private Methods

Method Description
Close ( ) : void

Moves all jobs to done then for each jobs: -- calls the finally script; -- closes the job.

Enqueue ( System.Management.Automation.PSObject value ) : void

Adds the object to the queue unless it is filtered out. Callers check the maximum queue count.

Feed ( bool force ) : void

Gets the next part of input items and feeds them to a ready job. If forced waits for a ready job.

Take ( ) : void

Finds finished jobs, writes their output, moves them to done. If Order stops on the first found working job, it should finish.

Wait ( ) : void

Waits for any job to finish. If Order then its the first job in the queue.

WriteResults ( Job job, ICollection output ) : void

Writes job output objects and propagates streams. Moves refilling objects from output to the queue.

v1.4.2 Only errors are propagated, other streams are written to the host.

Method Details

BeginProcessing() protected method

protected BeginProcessing ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

EndProcessing() protected method

protected EndProcessing ( ) : void
return void

ProcessRecord() protected method

protected ProcessRecord ( ) : void
return void

StopProcessing() protected method

protected StopProcessing ( ) : void
return void