public bool Equals(Employed other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(other.AggregateId.Equals(AggregateId) && other.StartDate.Equals(StartDate)); }
public bool Equals(Employed other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return other.AggregateId.Equals(AggregateId) && other.StartDate.Equals(StartDate); }
private void Apply(Employed evt) { Id = evt.AggregateId; _startDate = evt.StartDate; }
private void Apply(Employed evt) { Id = evt.AggregateId; _startDate = evt.StartDate; }