public override bool Equals(object obj) { if (obj == null || GetType() != obj.GetType()) { return(false); } FeatureModel featureObj = (FeatureModel)obj; if (featureObj.Name == this.Name && featureObj.Category == this.Category) { return(true); } else { return(base.Equals(obj)); } }
public Feature(FeatureModel featureID) : this() { FeatureID = new XmlPersistentHolder <FeatureModel, string, FeaturesManager>(featureID); }