public void AddFeature(FeatureBase feature) { SelectedFeatures.AddOnce(feature); foreach (var includedFeature in feature.IncludedFeatures) { SelectedFeatures.AddOnce(includedFeature); } }
protected bool Equals(FeatureBase other) { return(other.Id == Id); }
public void RemoveFeature(FeatureBase feature) { SelectedFeatures.Remove(feature); }