C# Class PSParallel.ProgressRecordExtension

Exibir arquivo Open project: powercode/PSParallel

Public Methods

Method Description
Clone ( this record ) : System.Management.Automation.ProgressRecord
WithCurrentOperation ( this record, string currentOperation ) : System.Management.Automation.ProgressRecord
WithPercentCompleteAndSecondsRemaining ( this record, int percentComplete, int secondsRemaining ) : System.Management.Automation.ProgressRecord
WithRecordType ( this record, ProgressRecordType recordType ) : System.Management.Automation.ProgressRecord

Private Methods

Method Description
CloneProgressRecord ( System.Management.Automation.ProgressRecord record ) : System.Management.Automation.ProgressRecord

Method Details

Clone() public static method

public static Clone ( this record ) : System.Management.Automation.ProgressRecord
record this
return System.Management.Automation.ProgressRecord

WithCurrentOperation() public static method

public static WithCurrentOperation ( this record, string currentOperation ) : System.Management.Automation.ProgressRecord
record this
currentOperation string
return System.Management.Automation.ProgressRecord

WithPercentCompleteAndSecondsRemaining() public static method

public static WithPercentCompleteAndSecondsRemaining ( this record, int percentComplete, int secondsRemaining ) : System.Management.Automation.ProgressRecord
record this
percentComplete int
secondsRemaining int
return System.Management.Automation.ProgressRecord

WithRecordType() public static method

public static WithRecordType ( this record, ProgressRecordType recordType ) : System.Management.Automation.ProgressRecord
record this
recordType ProgressRecordType
return System.Management.Automation.ProgressRecord