Class TestEx
- Namespace
- Dynamic
Data .Tests
- Assembly
- DynamicData.dll
Test extensions.
- Inheritance
-
Test
Ex
Methods
AsAggregator<TValue>(IObservable<IDistinctChangeSet<TValue>>)
Aggregates all events and statistics for a distinct change set to help assertions when testing.
public static DistinctChangeSetAggregator<TValue> AsAggregator<TValue>(this IObservable<IDistinctChangeSet<TValue>> source) where TValue : notnull
Parameters
source
IObservable<IDistinctChange <TValue>>Set The source.
Returns
- Distinct
Change <TValue>Set Aggregator The distinct change set aggregator.
Type Parameters
TValue
The type of the value.
Exceptions
- Argument
Null Exception source.
AsAggregator<TObject, TKey>(IObservable<IChangeSet<TObject, TKey>>)
Aggregates all events and statistics for a paged change set to help assertions when testing.
public static ChangeSetAggregator<TObject, TKey> AsAggregator<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey>> source) where TObject : notnull where TKey : notnull
Parameters
source
IObservable<IChangeSet <TObject, TKey>>The source.
Returns
- Change
Set <TObject, TKey>Aggregator The change set aggregator.
Type Parameters
TObject
The type of the object.
TKey
The type of the key.
AsAggregator<TObject, TKey>(IObservable<IPagedChangeSet<TObject, TKey>>)
Aggregates all events and statistics for a paged change set to help assertions when testing.
public static PagedChangeSetAggregator<TObject, TKey> AsAggregator<TObject, TKey>(this IObservable<IPagedChangeSet<TObject, TKey>> source) where TObject : notnull where TKey : notnull
Parameters
source
IObservable<IPagedChange <TObject, TKey>>Set The source.
Returns
- Paged
Change <TObject, TKey>Set Aggregator The paged change set aggregator.
Type Parameters
TObject
The type of the object.
TKey
The type of the key.
AsAggregator<TObject, TKey>(IObservable<ISortedChangeSet<TObject, TKey>>)
Aggregates all events and statistics for a sorted change set to help assertions when testing.
public static SortedChangeSetAggregator<TObject, TKey> AsAggregator<TObject, TKey>(this IObservable<ISortedChangeSet<TObject, TKey>> source) where TObject : notnull where TKey : notnull
Parameters
source
IObservable<ISortedChange <TObject, TKey>>Set The source.
Returns
- Sorted
Change <TObject, TKey>Set Aggregator The sorted change set aggregator.
Type Parameters
TObject
The type of the object.
TKey
The type of the key.
Exceptions
- Argument
Null Exception source.
AsAggregator<TObject, TKey>(IObservable<IVirtualChangeSet<TObject, TKey>>)
Aggregates all events and statistics for a virtual change set to help assertions when testing.
public static VirtualChangeSetAggregator<TObject, TKey> AsAggregator<TObject, TKey>(this IObservable<IVirtualChangeSet<TObject, TKey>> source) where TObject : notnull where TKey : notnull
Parameters
source
IObservable<IVirtualChange <TObject, TKey>>Set The source.
Returns
- Virtual
Change <TObject, TKey>Set Aggregator The virtual change set aggregator.
Type Parameters
TObject
The type of the object.
TKey
The type of the key.
Exceptions
- Argument
Null Exception source.
AsAggregator<TObject, TKey, TContext>(IObservable<IChangeSet<TObject, TKey, TContext>>)
Aggregates all events and statistics for a paged change set to help assertions when testing.
public static ChangeSetAggregator<TObject, TKey, TContext> AsAggregator<TObject, TKey, TContext>(this IObservable<IChangeSet<TObject, TKey, TContext>> source) where TObject : notnull where TKey : notnull
Parameters
source
IObservable<IChangeSet <TObject, TKey, TContext>>The source.
Returns
- Change
Set <TObject, TKey, TContext>Aggregator The change set aggregator.
Type Parameters
TObject
The type of the object.
TKey
The type of the key.
TContext
The type of context.
AsAggregator<TValue, TKey, TGroupKey>(IObservable<IGroupChangeSet<TValue, TKey, TGroupKey>>)
Aggregates all events and statistics for a group change set to help assertions when testing.
public static GroupChangeSetAggregator<TValue, TKey, TGroupKey> AsAggregator<TValue, TKey, TGroupKey>(this IObservable<IGroupChangeSet<TValue, TKey, TGroupKey>> source) where TValue : notnull where TKey : notnull where TGroupKey : notnull
Parameters
source
IObservable<IGroupChange <TValue, TKey, TGroupKey>>Set The source.
Returns
- Group
Change <TValue, TKey, TGroupKey>Set Aggregator The distinct change set aggregator.
Type Parameters
TValue
The type of the value.
TKey
The type of the key.
TGroupKey
The type of the grouping key.
Exceptions
- Argument
Null Exception source.