public void RemoveSyncError(SyncError error) { }
public void AddSerializedError(SyncError error, IsolatedStorageOfflineContext context) { }
/// <summary> /// Get the conflict item /// </summary> /// <returns>Conflict item</returns> public virtual Conflict GetConflict() { if (!HasConflict()) { return null; } Conflict conflict; if (currentEntryWrapper.IsConflict) { conflict = new SyncConflict { LiveEntity = liveEntity, LosingEntity = ReflectionUtility.GetObjectForType(currentEntryWrapper.ConflictWrapper, knownTypes), Resolution = (SyncConflictResolution) Enum.Parse(FormatterConstants.SyncConflictResolutionType, currentEntryWrapper.ConflictDesc, true) }; } else { conflict = new SyncError { LiveEntity = liveEntity, ErrorEntity = ReflectionUtility.GetObjectForType(currentEntryWrapper.ConflictWrapper, knownTypes), Description = currentEntryWrapper.ConflictDesc }; } return 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 = CreateEntity(_currentEntryWrapper.ConflictWrapper, _knownTypes), Resolution = (SyncConflictResolution)Enum.Parse(FormatterConstants.SyncConflictResolutionType, _currentEntryWrapper.ConflictDesc, true) }; } else { conflict = new SyncError { LiveEntity = _liveEntity, ErrorEntity = CreateEntity(_currentEntryWrapper.ConflictWrapper, _knownTypes), Description = _currentEntryWrapper.ConflictDesc }; } return conflict; }
public void AddSerializedError(SyncError error, OfflineContext context) { }
public void AddSyncError(SyncError error, OfflineContext context) { }