예제 #1
0
 /// <summary>
 /// Reset the sync state to the default unless the state was persisted as PausedByConflict
 /// </summary>
 internal void InitializeSyncState()
 {
     // Reload the current state and check if it is PausedByConflict
     // The session should remain in the PausedByConflict state until all conflicts are resolved
     m_syncStateMachine.Reload();
     if (m_syncStateMachine.CurrentState != PipelineState.PausedByConflict)
     {
         m_syncStateMachine.Reset();
     }
 }
예제 #2
0
 internal void ResetSyncState()
 {
     m_syncStateMachine.Reset();
 }