public void Report(AsyncProgressEntry value) { lock (_lock) { Dispatcher.Invoke(() => { if (value.Message != null) { EnsureShown(); Message = value.Message; SetProgress(value.Progress ?? 0d); } else { EnsureClosed(); } }); } }
public PageLoadingEventArgs(AsyncProgressEntry progress) { Progress = progress; }
public bool Equals(AsyncProgressEntry other) { return(string.Equals(Message, other.Message) && Progress.Equals(other.Progress)); }