Esempio n. 1
0
 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));
 }
Esempio n. 2
0
 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);
 }
Esempio n. 3
0
 private void Apply(Employed evt)
 {
     Id         = evt.AggregateId;
     _startDate = evt.StartDate;
 }
Esempio n. 4
0
 private void Apply(Employed evt)
 {
     Id = evt.AggregateId;
     _startDate = evt.StartDate;
 }