private void OnStatusUpdate(string stepName, PublishProcessStatus status, string message = "")
        {
            SyncStatus = status;
            SetStateMessage(message);
            stepName = GetProcessStateDisplayMessage(stepName);

            string stepTitle = string.Empty;

            switch (stepName)
            {
            default:
                break;
            }

            SyncStateChanged?.Invoke(this, new SyncStateEventArgs {
                StepName = stepName,
                Status   = status,
                Message  = message
            });
        }
Example #2
0
 private void OnSyncStateChanged()
 {
     Debug.WriteLine($"SyncStateChanged event triggered with state {CurrentSyncState.ToString()}");
     SyncStateChanged?.Invoke(this, CurrentSyncState);
 }