public bool WriteProgress(ExProgressRecord input, out ExProgressRecord output)
 {
     return(this.ExecutePipeline <ExProgressRecord>(delegate(ITaskIOPipeline p, ExProgressRecord i, out ExProgressRecord o)
     {
         return p.WriteProgress(i, out o);
     }, "WriteProgress", input, out output));
 }
Beispiel #2
0
 private void ReportProgress(object sender, EventArgs e)
 {
     if (this.context.CurrentObjectIndex >= 0)
     {
         ExProgressRecord exProgressRecord = new ExProgressRecord(this.context.CurrentObjectIndex, Strings.TaskCompleted, Strings.TaskCompleted);
         exProgressRecord.RecordType = ProgressRecordType.Completed;
         this.context.CommandShell.WriteProgress(exProgressRecord);
     }
 }
Beispiel #3
0
 public virtual bool WriteProgress(ExProgressRecord input, out ExProgressRecord output)
 {
     output = input;
     return(true);
 }