コード例 #1
0
        /// <summary>
        /// check if we are equal to an other type
        /// </summary>
        /// <param name="obj">the other object</param>
        /// <returns>if this is the same type</returns>
        public override bool Equals(System.Object obj)
        {
            SerializableSystemType temp = obj as SerializableSystemType;

            if ((object)temp == null || this == null)
            {
                return(false);
            }
            return(this.Equals(temp));
        }
コード例 #2
0
 /// <summary>
 /// internal check if this is eaqual to the other type
 /// </summary>
 /// <param name="Object">the other object</param>
 /// <returns>if we are equal</returns>
 public bool Equals(SerializableSystemType Object)
 {
     return(string.Equals(AssemblyQualifiedName, Object.AssemblyQualifiedName));
     //return Object.SystemType.Equals(SystemType);
 }