Esempio n. 1
0
 public void DeleteCondition(LayerConditionViewModel layerConditionViewModel,
                             LayerConditionModel layerConditionModel)
 {
     LayerConditionVms.Remove(layerConditionViewModel);
     Layer.Properties.Conditions.Remove(layerConditionModel);
 }
Esempio n. 2
0
        public void AddCondition()
        {
            var condition = new LayerConditionModel();

            LayerConditionVms.Add(new LayerConditionViewModel(this, condition, DataModelProps));
        }