internal Adapter(RealmResults <T> results, Action <Exception> errorCallback, bool coalesceMultipleChangesIntoReset) : base(results) { _results = results; _errorCallback = errorCallback; _coalesceMultipleChangesIntoReset = coalesceMultipleChangesIntoReset; _token = results.SubscribeForNotifications(OnChange); }
public Adapter(RealmResults <T> results, Action <Exception> errorCallback, bool coalesceMultipleChangesIntoReset) : base(results) { _results = results; _errorCallback = errorCallback; _coalesceMultipleChangesIntoReset = coalesceMultipleChangesIntoReset; _token = results.SubscribeForNotifications(OnChange); Debug.Assert(_token != null, "Subscription token must not be null."); }