Пример #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);
 }