public void ReportProgress(double progress, string key, string message) { OutputStreamHost.ReportProgress(progress, key, message); }
/// <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); }