private void ClearSyncConflict(SyncConflict syncConflict, IsolatedStorageOfflineContext context) { }
public void AddSerializedConflict(SyncConflict conflict, IsolatedStorageOfflineContext context) { }
public void RemoveSyncConflict(SyncConflict conflict) { }
/// <summary> /// Get the conflict item /// </summary> /// <returns>Conflict item</returns> public virtual Conflict GetConflict() { if (!HasConflict()) { return null; } Conflict conflict = null; if (_currentEntryWrapper.IsConflict) { conflict = new SyncConflict() { LiveEntity = _liveEntity, LosingEntity = ReflectionUtility.GetObjectForType(_currentEntryWrapper.ConflictWrapper, this._knownTypes), Resolution = (SyncConflictResolution)Enum.Parse(FormatterConstants.SyncConflictResolutionType, _currentEntryWrapper.ConflictDesc, true) }; } else { conflict = new SyncError() { LiveEntity = _liveEntity, ErrorEntity = ReflectionUtility.GetObjectForType(_currentEntryWrapper.ConflictWrapper, this._knownTypes), Description = _currentEntryWrapper.ConflictDesc }; } return conflict; }
private void ClearSyncConflict(SyncConflict syncConflict, OfflineContext context) { }
public void AddSerializedConflict(SyncConflict conflict, OfflineContext context) { }
/// <summary> /// Get the conflict item /// </summary> /// <returns>Conflict item</returns> public virtual Conflict GetConflict() { if (!HasConflict()) { return null; } Conflict conflict = null; if (_currentEntryWrapper.IsConflict) { conflict = new SyncConflict { LiveEntity = _liveEntity, LosingEntity = CreateEntity(_currentEntryWrapper.ConflictWrapper, _knownTypesDict), Resolution = (SyncConflictResolution)Enum.Parse(FormatterConstants.SyncConflictResolutionType, _currentEntryWrapper.ConflictDesc, true) }; } else { conflict = new SyncError { LiveEntity = _liveEntity, ErrorEntity = CreateEntity(_currentEntryWrapper.ConflictWrapper, _knownTypesDict), Description = _currentEntryWrapper.ConflictDesc }; } return conflict; }