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));
 }
Exemple #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);
     }
 }
Exemple #3
0
 public virtual bool WriteProgress(ExProgressRecord input, out ExProgressRecord output)
 {
     output = input;
     return(true);
 }