Exemplo n.º 1
0
 public ObservableCollection <ClassifiedFeatureVectorViewModel> GetFeaturesByType(LandcoverTypeViewModel typeViewModel)
 {
     return(FeaturesByType.First(f => f.LandCoverType == typeViewModel).Features);
 }
Exemplo n.º 2
0
 public bool HasFeatures()
 {
     return(FeaturesByType.Any(f => f.Features.Count > 0));
 }
Exemplo n.º 3
0
        public void RemoveFeature(ClassifiedFeatureVectorViewModel classifiedFeatureVector)
        {
            FeaturesByType.First(f => f.LandCoverType == classifiedFeatureVector.FeatureTypeViewModel).Features.Remove(classifiedFeatureVector);

            RaisePropertyChanged(FeatureProperty);
        }