Class ChangeStatistics
- Namespace
- DynamicData.Diagnostics
- Assembly
- DynamicData.dll
Object used to capture accumulated changes.
public class ChangeStatistics : IEquatable<ChangeStatistics>
- Inheritance
-
ChangeStatistics
- Implements
- Extension Methods
Constructors
ChangeStatistics()
Initializes a new instance of the ChangeStatistics class.
public ChangeStatistics()
ChangeStatistics(int, int, int, int, int, int, int)
Initializes a new instance of the ChangeStatistics class.
public ChangeStatistics(int index, int adds, int updates, int removes, int refreshes, int moves, int count)
Parameters
index
intThe index of the change.
adds
intThe number of additions.
updates
intThe number of updates.
removes
intThe number of removals.
refreshes
intThe number of refreshes.
moves
intThe number of moves.
count
intThe new count.
Properties
Adds
Gets the adds.
public int Adds { get; }
Property Value
- int
The adds.
Count
Gets the count.
public int Count { get; }
Property Value
- int
The count.
Index
Gets the index.
public int Index { get; }
Property Value
- int
The index.
LastUpdated
Gets the last updated.
public DateTime LastUpdated { get; }
Property Value
- DateTime
The last updated.
Moves
Gets the moves.
public int Moves { get; }
Property Value
- int
The moves.
Refreshes
Gets the refreshes.
public int Refreshes { get; }
Property Value
- int
The refreshes.
Removes
Gets the removes.
public int Removes { get; }
Property Value
- int
The removes.
Updates
Gets the updates.
public int Updates { get; }
Property Value
- int
The updates.
Methods
Equals(ChangeStatistics?)
public bool Equals(ChangeStatistics? other)
Parameters
other
ChangeStatistics
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ChangeStatistics, ChangeStatistics)
Checks to see if both sides are equal.
public static bool operator ==(ChangeStatistics left, ChangeStatistics right)
Parameters
left
ChangeStatisticsThe left side to compare.
right
ChangeStatisticsThe right side to compare.
Returns
- bool
If the two sides are equal.
operator !=(ChangeStatistics, ChangeStatistics)
Checks to see if both sides are not equal.
public static bool operator !=(ChangeStatistics left, ChangeStatistics right)
Parameters
left
ChangeStatisticsThe left side to compare.
right
ChangeStatisticsThe right side to compare.
Returns
- bool
If the two sides are not equal.