protected void FireSyncFailureEvent(Exception exception) { if (OnSyncFailure != null) { var dse = exception as DataStorageException; if (dse == null) { dse = new DataStorageException(exception); } OnSyncFailure(this, new SyncFailureEvent(dse)); } }
internal SyncFailureEvent(DataStorageException exception) { this.Exception = exception; }