public bool Compare(XMLSchema obj) { if (obj == null) { throw new ArgumentNullException("obj"); } if (!this.Text.Equals(obj.Text)) { return(false); } return(true); }
/// <summary> /// Clona el objeto en una nueva instancia. /// </summary> public new XMLSchema Clone(ISchemaBase parent) { XMLSchema item = new XMLSchema(parent); item.Text = this.Text; item.Status = this.Status; item.Name = this.Name; item.Id = this.Id; item.Owner = this.Owner; item.Guid = this.Guid; item.Dependencys = this.Dependencys; return(item); }