Exemple #1
0
        public bool Equals(IBlendType type)
        {
            var thisType = type as BlendPointerType;

            if (thisType == null)
            {
                // type unmatched
                return(false);
            }

            return(m_baseType.Equals(thisType.m_baseType));
        }
Exemple #2
0
        public virtual bool Equals(IBlendType type)
        {
            var qualified = type as BlendArrayType;

            if (qualified == null)
            {
                // type unmatched
                return(false);
            }

            return(!m_baseType.Equals(qualified.m_baseType)
                                ? false
                                : !_Equals(m_dimCountArray, qualified.m_dimCountArray)
                                        ? false
                                        : true);
        }