/// <inheritdoc /> public void SetCellValue( TValue value, DateTime timestampUtc, string details = null) { var cellInputAppliedEvent = new CellInputAppliedEvent <TValue>(timestampUtc, value, details); this.Record(cellInputAppliedEvent); }
public CellInputAppliedEvent <TValue> DeepCloneWithValue(TValue value) { var result = new CellInputAppliedEvent <TValue>( this.TimestampUtc.DeepClone(), value, this.Details?.DeepClone()); return(result); }
/// <inheritdoc /> public bool Equals(CellInputAppliedEvent <TValue> other) { if (ReferenceEquals(this, other)) { return(true); } if (ReferenceEquals(other, null)) { return(false); } var result = this.TimestampUtc.IsEqualTo(other.TimestampUtc) && this.Details.IsEqualTo(other.Details, StringComparer.Ordinal) && this.Value.IsEqualTo(other.Value); return(result); }