Exemplo n.º 1
0
        /// <summary>
        /// Compares to.
        /// </summary>
        /// <param name="obj">
        /// The object.
        /// </param>
        /// <returns>
        /// </returns>
        public int CompareTo(object obj)
        {
            if (obj == null)
            {
                return(1);
            }

            AttributeModel secondSource = (AttributeModel)obj;

            // compare on Page first TODO compare on Page?
            int testFlag = GType.CompareTo(secondSource.GType);

            return(testFlag);
        }