コード例 #1
0
 protected static bool EqualOperator(ValueObjectBase left, ValueObjectBase right)
 {
     if (ReferenceEquals(left, null) ^ ReferenceEquals(right, null))
     {
         return(false);
     }
     return(ReferenceEquals(left, null) || left.Equals(right));
 }
コード例 #2
0
 protected static bool NotEqualOperator(ValueObjectBase left, ValueObjectBase right)
 {
     return(!(EqualOperator(left, right)));
 }