Beispiel #1
0
        public static TypeXrefModel FromTypeXref(TypeXref xref, string daoNamespace)
        {
            TypeXrefModel model = new TypeXrefModel();

            model.CopyProperties(xref);
            model.DaoNamespace = daoNamespace;
            return(model);
        }
Beispiel #2
0
        public override bool Equals(object obj)
        {
            TypeXref compareTo = obj as TypeXref;

            if (compareTo != null)
            {
                return(compareTo.Left.Equals(this.Left) && compareTo.Right.Equals(this.Right) ||
                       compareTo.Left.Equals(this.Right) && compareTo.Right.Equals(this.Left));
            }

            return(base.Equals(obj));
        }