예제 #1
0
        protected static bool EqualOperator(ValueObjectBase left, ValueObjectBase right)
        {
            if (left is null ^ right is null)
            {
                return(false);
            }

            return(left?.Equals(right) != false);
        }
예제 #2
0
 protected static bool NotEqualOperator(ValueObjectBase left, ValueObjectBase right)
 {
     return(!(EqualOperator(left, right)));
 }