public override EventBase <TId> DeepCloneWithId(TId id) { var result = new NullEvent <TId>( id, this.TimestampUtc.DeepClone()); return(result); }
/// <inheritdoc /> public bool Equals(NullEvent <TId> other) { if (ReferenceEquals(this, other)) { return(true); } if (ReferenceEquals(other, null)) { return(false); } var result = this.TimestampUtc.IsEqualTo(other.TimestampUtc) && this.Id.IsEqualTo(other.Id); return(result); }