示例#1
0
        public override bool Equals(object other)
        {
            var otherDecision = other as ScheduleActivityDecision;

            if (otherDecision == null)
            {
                return(false);
            }
            return(_identity.Equals(otherDecision._identity));
        }
 private bool Equals(CancelActivityDecision other)
 {
     return(_activityIdentiy.Equals(other._activityIdentiy));
 }
示例#3
0
 public bool Has(Identity identity)
 {
     return(Identity.Equals(identity));
 }
示例#4
0
 private bool Equals(CancelTimerDecision other)
 {
     return(_timerIdentity.Equals(other._timerIdentity));
 }