|
Realm Xamarin
v0.81.0
Realm for Xamarin
|
A set of extensions methods exposing notification-related functionality over collections. More...
Static Public Member Functions | |
| static IRealmCollection< T > | AsRealmCollection< T > (this IQueryable< T > results) |
A convenience method that casts IQueryable{T} to IRealmCollection<T> which implements INotifyCollectionChanged. More... | |
| static IRealmCollection< T > | AsRealmCollection< T > (this IList< T > list) |
A convenience method that casts IList{T} to IRealmCollection<T> which implements INotifyCollectionChanged. More... | |
| static void | Move< T > (this IList< T > list, T item, int index) |
| Move the specified item to a new position within the list. More... | |
| static IDisposable | SubscribeForNotifications< T > (this IQueryable< T > results, NotificationCallbackDelegate< T > callback) |
A convenience method that casts IQueryable{T} to IRealmCollection<T> and subscribes for change notifications. More... | |
| static IDisposable | SubscribeForNotifications< T > (this IList< T > results, NotificationCallbackDelegate< T > callback) |
A convenience method that casts IList{T} to IRealmCollection<T> and subscribes for change notifications. More... | |
| static INotifyCollectionChanged | ToNotifyCollectionChanged< T > (this IOrderedQueryable< T > results, Action< Exception > errorCallback) |
A convenience method that casts IQueryable{T} to IRealmCollection<T> which implements INotifyCollectionChanged. More... | |
| static INotifyCollectionChanged | ToNotifyCollectionChanged< T > (this IOrderedQueryable< T > results, Action< Exception > errorCallback, bool coalesceMultipleChangesIntoReset) |
A convenience method that casts IQueryable{T} to IRealmCollection<T> which implements INotifyCollectionChanged. More... | |
A set of extensions methods exposing notification-related functionality over collections.
|
static |
A convenience method that casts IQueryable{T} to IRealmCollection<T> which implements INotifyCollectionChanged.
| results | The IQueryable<T> to observe for changes. |
| T | Type of the RealmObject in the results. |
| T | : | RealmObject |
|
static |
A convenience method that casts IList{T} to IRealmCollection<T> which implements INotifyCollectionChanged.
| list | The IList<T> to observe for changes. |
| T | Type of the RealmObject in the list. |
| T | : | RealmObject |
|
static |
Move the specified item to a new position within the list.
| list | The list where the move should occur. |
| item | The item that will be moved. |
| index | The new position to which the item will be moved. |
| T | Type of the RealmObject in the list. |
This extension method will work for standalone lists as well by calling Remove and then Insert.
| ArgumentOutOfRangeException | Thrown if the index is less than 0 or greater than Count - 1. |
| T | : | RealmObject |
|
static |
A convenience method that casts IQueryable{T} to IRealmCollection<T> and subscribes for change notifications.
| results | The IQueryable<T> to observe for changes. |
| T | Type of the RealmObject in the results. |
| callback | The callback to be invoked with the updated IRealmCollection<T>. |
| T | : | RealmObject |
|
static |
A convenience method that casts IList{T} to IRealmCollection<T> and subscribes for change notifications.
| results | The IList<T> to observe for changes. |
| T | Type of the RealmObject in the results. |
| callback | The callback to be invoked with the updated IRealmCollection<T>. |
| T | : | RealmObject |
|
static |
A convenience method that casts IQueryable{T} to IRealmCollection<T> which implements INotifyCollectionChanged.
| results | The IQueryable<T> to observe for changes. |
| errorCallback | The parameter is not used. |
| T | Type of the RealmObject in the results. |
| T | : | RealmObject |
|
static |
A convenience method that casts IQueryable{T} to IRealmCollection<T> which implements INotifyCollectionChanged.
| results | The IQueryable<T> to observe for changes. |
| errorCallback | The parameter is not used. |
| coalesceMultipleChangesIntoReset | The parameter is not used. |
| T | Type of the RealmObject in the results. |
| T | : | RealmObject |