public void UpdateReplicationPerformance(SqlReplicationPerformanceStats performance) { ReplicationPerformanceStats.Enqueue(performance); while (ReplicationPerformanceStats.Count > 25) { SqlReplicationPerformanceStats _; ReplicationPerformanceStats.TryDequeue(out _); } }
protected bool Equals(SqlReplicationPerformanceStats other) { return(BatchSize == other.BatchSize && Duration.Equals(other.Duration) && Started.Equals(other.Started)); }