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