Class GroupChangeSetAggregator<TObject, TKey, TGroupKey>
- Namespace
- Dynamic
Data .Tests
- Assembly
- DynamicData.dll
Aggregates all events and statistics for a group change set to help assertions when testing.
public class GroupChangeSetAggregator<TObject, TKey, TGroupKey> : IDisposable where TObject : notnull where TKey : notnull where TGroupKey : notnull
Type Parameters
TObject
The type of the object.
TKey
The type of the key.
TGroupKey
The type of the grouping key.
- Inheritance
-
GroupChangeSetAggregator<TObject, TKey, TGroupKey>
- Implements
- Extension Methods
Constructors
GroupChangeSetAggregator(IObservable<IGroupChangeSet<TObject, TKey, TGroupKey>>)
Initializes a new instance of the GroupChangeSetAggregator<TObject, TKey, TGroupKey> class.
Parameters
source
IObservable<IGroupChange <TObject, TKey, TGroupKey>>Set The source.
Properties
Data
Gets the data.
Property Value
- IObservable
Cache <IGroup<TObject, TKey, TGroupKey>, TGroupKey> The data.
Error
Gets the error.
Property Value
- Exception
The error.
Groups
Gets a cache containing the aggregated results of each individual group.
Property Value
- IObservable
Cache <ChangeSet <TObject, TKey>, TGroupKey>Aggregator
IsCompleted
Gets a value indicating whether or not the ChangeSet fired OnCompleted.
Property Value
- bool
Boolean Value.
Messages
Gets a list of the messages that were received.
Property Value
- IRead
Only <IGroupList Change <TObject, TKey, TGroupKey>>Set
Summary
Gets the summary.
Property Value
- Change
Summary The summary.
Methods
Dispose()
Dispose(bool)
Disposes of managed and unmanaged responses.
Parameters
disposing
boolIf being called by the Dispose method.