Class ObservableListAlias
- Namespace
- Dynamic
Data .Alias
- Assembly
- DynamicData.dll
Observable cache alias names.
- Inheritance
-
Observable
List Alias
Methods
SelectMany<TDestination, TSource>(IObservable<IChangeSet<TSource>>, Func<TSource, IEnumerable<TDestination>>)
Equivalent to a select many transform. To work, the key must individually identify each child. **** Assumes each child can only have one parent - support for children with multiple parents is a work in progresses.
public static IObservable<IChangeSet<TDestination>> SelectMany<TDestination, TSource>(this IObservable<IChangeSet<TSource>> source, Func<TSource, IEnumerable<TDestination>> manySelector) where TDestination : notnull where TSource : notnull
Parameters
source
IObservable<IChangeSet <TSource>>The source.
manySelector
Func<TSource, IEnumerable<TDestination>>The selector for the enumerable.
Returns
- IObservable<IChange
Set <TDestination>> An observable which emits the change set.
Type Parameters
TDestination
The type of the destination.
TSource
The type of the source.
Select<TSource, TDestination>(IObservable<IChangeSet<TSource>>, Func<TSource, TDestination>)
Projects each update item to a new form using the specified transform function.
public static IObservable<IChangeSet<TDestination>> Select<TSource, TDestination>(this IObservable<IChangeSet<TSource>> source, Func<TSource, TDestination> transformFactory) where TSource : notnull where TDestination : notnull
Parameters
source
IObservable<IChangeSet <TSource>>The source.
transformFactory
Func<TSource, TDestination>The transform factory.
Returns
- IObservable<IChange
Set <TDestination>> An observable which emits the change set.
Type Parameters
TSource
The type of the source.
TDestination
The type of the destination.
Exceptions
- Argument
Null Exception source or valueSelector.
Where<T>(IObservable<IChangeSet<T>>, Func<T, bool>)
Filters the source using the specified valueSelector.
public static IObservable<IChangeSet<T>> Where<T>(this IObservable<IChangeSet<T>> source, Func<T, bool> predicate) where T : notnull
Parameters
source
IObservable<IChangeSet <T>>The source.
predicate
Func<T, bool>The valueSelector.
Returns
- IObservable<IChange
Set <T>> An observable which emits the change set.
Type Parameters
T
The type of the item.
Exceptions
- Argument
Null Exception source.
Where<T>(IObservable<IChangeSet<T>>, IObservable<Func<T, bool>>)
Filters source using the specified filter observable predicate.
public static IObservable<IChangeSet<T>> Where<T>(this IObservable<IChangeSet<T>> source, IObservable<Func<T, bool>> predicate) where T : notnull
Parameters
source
IObservable<IChangeSet <T>>The source.
predicate
IObservable<Func<T, bool>>The predict for deciding on items to filter.
Returns
- IObservable<IChange
Set <T>> An observable which emits the change set.
Type Parameters
T
The type of the item.
Exceptions
- Argument
Null Exception source or filterController.