/// <summary> /// Majors the status delete. /// </summary> /// <returns> /// </returns> public async Task MajorStatusDelete() { //MajorStatusMessage = string.Empty; await _DataLog.Remove().ConfigureAwait(false); //// Pop top item // if (majorStatusQueue.Count > 0) { QueueItem oldItem = majorStatusQueue.Dequeue(); // localCL.LogVariable("NotifyUserGeneral", "Major Status Delete => " + oldItem.Text); } //// Display current item // if (majorStatusQueue.Count > 0) { QueueItem currentItem = majorStatusQueue.Peek(); // await Task.Run(() => // localEventAggregator.GetEvent<GVProgressMajorTextUpdate>().Publish(currentItem.Text)).ConfigureAwait(false); // } else { await Task.Run(() => // localEventAggregator.GetEvent<GVProgressMajorTextUpdate>().Publish(null)).ConfigureAwait(false); } }