Example #1
0
        protected static bool EitherNull(SemanticTypeBase <T> a, SemanticTypeBase <T> b)
        {
            if ((a is null) || (b is null))
            {
                return(true);
            }

            return(false);
        }
Example #2
0
        public virtual bool Equals(SemanticTypeBase <T> other)
        {
            if (other == null)
            {
                return(false);
            }

            return(Value.Equals(other.Value));
        }
Example #3
0
        protected static bool EitherNull(SemanticTypeBase <T> a, SemanticTypeBase <T> b)
        {
            if (((object)a == null) || ((object)b == null))
            {
                return(true);
            }

            return(false);
        }