Class ChangeSetAggregator<TObject, TKey, TContext>
- Namespace
- Dynamic
Data .Tests
- Assembly
- DynamicData.dll
Aggregates all events and statistics for a change set to help assertions when testing.
public sealed class ChangeSetAggregator<TObject, TKey, TContext> : IDisposable where TObject : notnull where TKey : notnull
Type Parameters
TObject
The type of the object.
TKey
The type of the key.
TContext
The type of context.
- Inheritance
-
ChangeSetAggregator<TObject, TKey, TContext>
- Implements
- Extension Methods
Constructors
ChangeSetAggregator(IObservable<IChangeSet<TObject, TKey, TContext>>)
Initializes a new instance of the ChangeSetAggregator<TObject, TKey, TContext> class.
Parameters
source
IObservable<IChangeSet <TObject, TKey, TContext>>The source.
Properties
Data
Gets the data.
Property Value
- IObservable
Cache <TObject, TKey> The data.
Error
Gets the error.
Property Value
- Exception
The error.
IsCompleted
Gets a value indicating whether or not the ChangeSet fired OnCompleted.
Property Value
- bool
Boolean Value.
Messages
Gets the messages.
Property Value
- IList<IChange
Set <TObject, TKey, TContext>> The messages.
Summary
Gets the summary.
Property Value
- Change
Summary The summary.
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.