예제 #1
0
        public void AddFeature(FeatureBase feature)
        {
            SelectedFeatures.AddOnce(feature);

            foreach (var includedFeature in feature.IncludedFeatures)
            {
                SelectedFeatures.AddOnce(includedFeature);
            }
        }
예제 #2
0
 protected bool Equals(FeatureBase other)
 {
     return(other.Id == Id);
 }
예제 #3
0
 public void RemoveFeature(FeatureBase feature)
 {
     SelectedFeatures.Remove(feature);
 }