Ejemplo n.º 1
0
 public void ReportProgress(double progress, string key, string message)
 {
     OutputStreamHost.ReportProgress(progress, key, message);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Report progress.
 /// </summary>
 /// <param name="current"></param>
 /// <param name="total"></param>
 /// <param name="key"></param>
 /// <param name="message"></param>
 public static void ReportProgress(long current, long total, string key, string message)
 {
     OutputStreamHost.ReportProgress((double)current / (double)total, key, message);
 }