Class PagedChangeSetAggregator<TObject, TKey>
- Namespace
- DynamicData.Tests
- Assembly
- DynamicData.dll
Aggregates all events and statistics for a paged change set to help assertions when testing.
public class PagedChangeSetAggregator<TObject, TKey> : IDisposable where TObject : notnull where TKey : notnull
Type Parameters
TObject
The type of the object.
TKey
The type of the key.
- Inheritance
-
PagedChangeSetAggregator<TObject, TKey>
- Implements
- Extension Methods
Constructors
PagedChangeSetAggregator(IObservable<IPagedChangeSet<TObject, TKey>>)
Initializes a new instance of the PagedChangeSetAggregator<TObject, TKey> class.
public PagedChangeSetAggregator(IObservable<IPagedChangeSet<TObject, TKey>> source)
Parameters
source
IObservable<IPagedChangeSet<TObject, TKey>>The source.
Properties
Data
Gets the data of the steam cached in-order to apply assertions.
public IObservableCache<TObject, TKey> Data { get; }
Property Value
- IObservableCache<TObject, TKey>
Error
Gets and error.
public Exception? Error { get; }
Property Value
- Exception
The error.
Messages
Gets record of all received messages.
public IList<IPagedChangeSet<TObject, TKey>> Messages { get; }
Property Value
- IList<IPagedChangeSet<TObject, TKey>>
The messages.
Summary
Gets the aggregated change summary.
public ChangeSummary Summary { get; }
Property Value
- ChangeSummary
The summary.
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Dispose(bool)
Disposes of managed and unmanaged resources.
protected virtual void Dispose(bool isDisposing)
Parameters
isDisposing
boolIf the method is being called by the Dispose method.