public static INotifyCollectionChanged ToNotifyCollectionChanged <T>(this IOrderedQueryable <T> results, Action <Exception> errorCallback, bool coalesceMultipleChangesIntoReset) where T : RealmObject
        {
            if (errorCallback == null)
            {
                throw new ArgumentNullException(nameof(errorCallback));
            }

            return(results.AsRealmCollection());
        }