Beispiel #1
0
 public bool Equals(IDepartmentRule other)
 {
     if (other == null || !(other is ConditionDepartmentRule otherRule))
     {
         return(false);
     }
     return(ConditionStampId == otherRule.ConditionStampId &&
            OnConditionDefaultRule.Equals(otherRule.OnConditionDefaultRule) &&
            ElseConditionDefaultRule.Equals(otherRule.ElseConditionDefaultRule));
 }