protected void InvokeProgressEvent(GraphProgress progress, int? percent, String targetName)
 {
     CurrentStatus.GraphProgress = progress;
     CurrentStatus.Percent = percent != null ? percent : CurrentStatus.Percent;
     CurrentStatus.TargetName = targetName;
     CurrentStatus.FailReason = null;
     OnModelProgress(new GraphProgressEventArgs(CurrentStatus));
 }
 protected void InvokeProgressEvent(GraphProgress progress, int? percent)
 {
     InvokeProgressEvent(progress, percent, null);
 }
 protected void InvokeProgressEvent(GraphProgress progress)
 {
     InvokeProgressEvent(progress, null, null);
 }
 protected void InvokeProgressEvent(GraphProgress progress, String targetName)
 {
     InvokeProgressEvent(progress, null, targetName);
 }
 public void InvokeFailureProgressEvent(GraphProgress progress, String failReason)
 {
     if (CurrentStatus == null)
     {
         CurrentStatus = new GraphProgressStatus();
     }
     CurrentStatus.GraphProgress = progress;
     CurrentStatus.FailReason = failReason;
     OnModelProgress(new GraphProgressEventArgs(CurrentStatus));
 }