Summary
Extensions for ObservableList.
- Namespace
- DynamicData
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["ObservableListEx"]
class Type type-node
Syntax
public static class ObservableListEx
Methods
Name | Value | Summary |
---|---|---|
Adapt |
IObservable |
Injects a side effect into a change set observable.
static
|
AddKey |
IObservable |
Adds a key to the change set result which enables all observable cache features of dynamic data.
static
|
And |
IObservable |
Apply a logical And operator between the collections.
Items which are in all of the sources are included in the result.
static
|
And |
IObservable |
Apply a logical And operator between the collections.
Items which are in all of the sources are included in the result.
static
|
And |
IObservable |
Dynamically apply a logical And operator between the items in the outer observable list.
Items which are in any of the sources are included in the result.
static
|
And |
IObservable |
Dynamically apply a logical And operator between the items in the outer observable list.
Items which are in any of the sources are included in the result.
static
|
And |
IObservable |
Dynamically apply a logical And operator between the items in the outer observable list.
Items which are in any of the sources are included in the result.
static
|
AsObservableList |
IObservableList |
Converts the source observable to an read only observable list.
static
|
AsObservableList |
IObservableList |
Converts the source list to an read only observable list.
static
|
AutoRefresh |
IObservable |
Automatically refresh downstream operators when properties change.
static
|
AutoRefresh |
IObservable |
Automatically refresh downstream operators when any property changes.
static
|
Auto |
IObservable |
Automatically refresh downstream operator. The refresh is triggered when the observable receives a notification.
static
|
Bind |
IObservable |
Binds a clone of the observable change set to the target observable collection.
static
|
Bind |
IObservable |
Creates a binding to a readonly observable collection which is specified as an 'out' parameter.
static
|
BufferIf |
IObservable |
Batches the underlying updates if a pause signal (i.e when the buffer selector return true) has been received.
When a resume signal has been received the batched updates will be fired.
static
|
BufferIf |
IObservable |
Batches the underlying updates if a pause signal (i.e when the buffer selector return true) has been received.
When a resume signal has been received the batched updates will be fired.
static
|
BufferIf |
IObservable |
Batches the underlying updates if a pause signal (i.e when the buffer selector return true) has been received.
When a resume signal has been received the batched updates will be fired.
static
|
BufferIf |
IObservable |
Batches the underlying updates if a pause signal (i.e when the buffer selector return true) has been received.
When a resume signal has been received the batched updates will be fired.
static
|
BufferInitial |
IObservable |
Buffers changes for an initial period only. After the period has elapsed, not further buffering occurs.
static
|
Cast |
IObservable |
Cast the changes to another form.
static
|
Cast |
IObservable |
Cast the changes to another form
Alas, I had to add the converter due to type inference issues. The converter can be avoided by CastToObject() first.
static
|
CastToObject |
IObservable |
Cast the underlying type of an object. Use before a Cast function.
static
|
Clone |
IObservable |
Clones the target list as a side effect of the stream.
static
|
Convert |
IObservable |
Convert the object using the specified conversion function.
This is a lighter equivalent of Transform and is designed to be used with non-disposable objects.
static
|
DeferUntilLoaded |
IObservable |
Defer the subscription until the stream has been inflated with data.
static
|
DeferUntilLoaded |
IObservable |
Defer the subscription until the cache has been inflated with data.
static
|
DisposeMany |
IObservable |
Disposes each item when no longer required.
Individual items are disposed when removed or replaced. All items
are disposed when the stream is disposed.
static
|
DistinctValues |
IObservable |
Selects distinct values from the source, using the specified value selector.
static
|
Except |
IObservable |
Apply a logical Except operator between the collections.
Items which are in the source and not in the others are included in the result.
static
|
Except |
IObservable |
Apply a logical Except operator between the collections.
Items which are in the source and not in the others are included in the result.
static
|
Except |
IObservable |
Dynamically apply a logical Except operator. Items from the first observable list are included when an equivalent item does not exist in the other sources.
static
|
Except |
IObservable |
Dynamically apply a logical Except operator. Items from the first observable list are included when an equivalent item does not exist in the other sources.
static
|
Except |
IObservable |
Dynamically apply a logical Except operator. Items from the first observable list are included when an equivalent item does not exist in the other sources.
static
|
ExpireAfter |
IObservable |
Removes items from the cache according to the value specified by the time selector function.
static
|
ExpireAfter |
IObservable |
Removes items from the cache according to the value specified by the time selector function.
static
|
Filter |
IObservable |
Filters the source using the specified valueSelector.
static
|
Filter |
IObservable |
Filters source using the specified filter observable predicate.
static
|
FilterOnObservable |
IObservable |
Filters source on the specified observable property using the specified predicate.
The filter will automatically reapply when a property changes.
static
|
FilterOnProperty |
IObservable |
Filters source on the specified property using the specified predicate.
The filter will automatically reapply when a property changes.
static
|
FlattenBufferResult |
IObservable |
Convert the result of a buffer operation to a change set.
static
|
ForEachChange |
IObservable |
Provides a call back for each item change.
static
|
ForEachItemChange |
IObservable |
Provides a call back for each item change.
Range changes are flattened, so there is only need to check for Add, Replace, Remove and Clear.
static
|
GroupOn |
IObservable |
Groups the source on the value returned by group selector factory. The groupings contains an inner observable list.
static
|
GroupOnProperty |
IObservable |
Groups the source using the property specified by the property selector. The resulting groupings contains an inner observable list.
Groups are re-applied when the property value changed.
When there are likely to be a large number of group property changes specify a throttle to improve performance.
static
|
Group |
IObservable |
Groups the source using the property specified by the property selector. The resulting groupings are immutable.
Groups are re-applied when the property value changed.
When there are likely to be a large number of group property changes specify a throttle to improve performance.
static
|
Group |
IObservable |
Groups the source on the value returned by group selector factory. Each update produces immutable grouping.
static
|
LimitSizeTo |
IObservable |
Limits the size of the source cache to the specified limit.
Notifies which items have been removed from the source list.
static
|
MergeMany |
IObservable |
Dynamically merges the observable which is selected from each item in the stream, and un-merges the item
when it is no longer part of the stream.
static
|
NotEmpty |
IObservable |
Prevents an empty notification.
static
|
OnItemAdded |
IObservable |
Callback for each item as and when it is being added to the stream.
static
|
OnItemRemoved |
IObservable |
Callback for each item as and when it is being removed from the stream.
static
|
Or |
IObservable |
Apply a logical Or operator between the collections.
Items which are in any of the sources are included in the result.
static
|
Or |
IObservable |
Apply a logical Or operator between the collections.
Items which are in any of the sources are included in the result.
static
|
Or |
IObservable |
Dynamically apply a logical Or operator between the items in the outer observable list.
Items which are in any of the sources are included in the result.
static
|
Or |
IObservable |
Dynamically apply a logical Or operator between the items in the outer observable list.
Items which are in any of the sources are included in the result.
static
|
Or |
IObservable |
Dynamically apply a logical Or operator between the items in the outer observable list.
Items which are in any of the sources are included in the result.
static
|
Page |
IObservable |
Applies paging to the data source.
static
|
PopulateInto |
IDisposable |
list.
static
|
QueryWhenChanged |
IObservable |
The latest copy of the cache is exposed for querying i) after each modification to the underlying data ii) upon subscription.
static
|
QueryWhenChanged |
IObservable |
The latest copy of the cache is exposed for querying after each modification to the underlying data.
static
|
RefCount |
IObservable |
List equivalent to Publish().RefCount(). The source is cached so long as there is at least 1 subscriber.
static
|
RemoveIndex |
IObservable |
Removes the index from all changes.
NB: This operator has been introduced as a temporary fix for creating an Or operator using merge many.
static
|
Reverse |
IObservable |
Reverse sort of the change set.
static
|
SkipInitial |
IObservable |
Defer the subscription until loaded and skip initial change set.
static
|
Sort |
IObservable |
Sorts the sequence using the specified comparer.
static
|
Sort |
IObservable |
Sorts the sequence using the specified observable comparer.
static
|
StartWithEmpty |
IObservable |
Prepends an empty change set to the source.
static
|
SubscribeMany |
IObservable |
Subscribes to each item when it is added to the stream and unsubscribes when it is removed. All items will be unsubscribed when the stream is disposed.
static
|
SuppressRefresh |
IObservable |
Suppress refresh notifications.
static
|
Switch |
IObservable |
Transforms an observable sequence of observable changes sets into an observable sequence
producing values only from the most recent observable sequence.
Each time a new inner observable sequence is received, unsubscribe from the
previous inner observable sequence and clear the existing result set.
static
|
Switch |
IObservable |
Transforms an observable sequence of observable lists into a single sequence
producing values only from the most recent observable sequence.
Each time a new inner observable sequence is received, unsubscribe from the
previous inner observable sequence and clear the existing result set.
static
|
ToCollection |
IObservable |
Converts the change set into a fully formed collection. Each change in the source results in a new collection.
static
|
To |
IObservable |
Converts the observable to an observable change set, allowing size to be specified.
Change set observes observable change events.
static
|
To |
IObservable |
Converts the observable to an observable change set, allowing size and time limit to be specified.
Change set observes observable change events.
static
|
To |
IObservable |
Converts the observable to an observable change set, allowing size and time limit to be specified.
Change set observes observable change events.
static
|
To |
IObservable |
Converts the observable to an observable change set.
Change set observes observable change events.
static
|
To |
IObservable |
Converts the observable to an observable change set, allowing time expiry to be specified.
Change set observes observable change events.
static
|
To |
IObservable |
Converts the observable to an observable change set, allowing size and time limit to be specified.
Change set observes observable change events.
static
|
To |
IObservable |
Converts the observable to an observable change set, with a specified limit of how large the list can be.
Change set observes observable change events.
static
|
To |
IObservable |
Converts the observable to an observable change set.
Change set observes observable change events.
static
|
Top |
IObservable |
Limits the size of the result set to the specified number of items.
static
|
ToSortedCollection |
IObservable |
Converts the change set into a fully formed sorted collection. Each change in the source results in a new sorted collection.
static
|
ToSortedCollection |
IObservable |
Converts the change set into a fully formed sorted collection. Each change in the source results in a new sorted collection.
static
|
Transform |
IObservable |
Projects each update item to a new form using the specified transform function.
static
|
Transform |
IObservable |
Projects each update item to a new form using the specified transform function
*** Annoyingly when using this overload you will have to explicitly specify the generic type arguments as type inference fails.
static
|
Transform |
IObservable |
Projects each update item to a new form using the specified transform function.
*** Annoyingly when using this overload you will have to explicitly specify the generic type arguments as type inference fails.
static
|
Transform |
IObservable |
Projects each update item to a new form using the specified transform function.
static
|
TransformAsync |
IObservable |
Projects each update item to a new form using the specified transform function.
static
|
TransformMany |
IObservable |
Equivalent to a select many transform. To work, the key must individually identify each child.
static
|
TransformMany |
IObservable |
Flatten the nested observable list, and observe subsequent observable collection changes.
static
|
TransformMany |
IObservable |
Flatten the nested observable collection, and observe subsequently observable collection changes.
static
|
TransformMany |
IObservable |
Flatten the nested observable collection, and observe subsequently observable collection changes.
static
|
Virtualise |
IObservable |
Virtualises the source using parameters provided via the requests observable.
static
|
When |
IObservable |
Watches each item in the collection and notifies when any of them has changed.
static
|
WhenPropertyChanged |
IObservable |
Watches each item in the collection and notifies when any of them has changed.
static
|
WhenValueChanged |
IObservable |
Watches each item in the collection and notifies when any of them has changed.
static
|
WhereReasonsAre |
IObservable |
Includes changes for the specified reasons only.
static
|
WhereReasonsAreNot |
IObservable |
Excludes updates for the specified reasons.
static
|
Xor |
IObservable |
Apply a logical Xor operator between the collections.
Items which are only in one of the sources are included in the result.
static
|
Xor |
IObservable |
Apply a logical Xor operator between the collections.
Items which are only in one of the sources are included in the result.
static
|
Xor |
IObservable |
Dynamically apply a logical Xor operator between the items in the outer observable list.
Items which are in any of the sources are included in the result.
static
|
Xor |
IObservable |
Dynamically apply a logical Xor operator between the items in the outer observable list.
Items which are in any of the sources are included in the result.
static
|
Xor |
IObservable |
Dynamically apply a logical Xor operator between the items in the outer observable list.
Items which are in any of the sources are included in the result.
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
Invoke |
object |
This is a thing I lifted from Prism.
|