protected virtual void OnProgressChanged(JobProgressEventArgs args)
 {
     try
     {
         ProgressChanged?.Invoke(this, args);
     }
     catch
     {
         ProgressChanged = null;
     }
 }
Exemplo n.º 2
0
        protected virtual void OnProgressChanged(JobProgressEventArgs args)
        {
            try
            {
                if (!string.IsNullOrEmpty(args?.Error))
                {
                    HasErrors = true;
                }

                ProgressChanged?.Invoke(this, args);
            }
            catch
            {
                ProgressChanged = null;
            }
        }