Пример #1
0
 public void DeleteCondition(LayerConditionViewModel layerConditionViewModel,
                             LayerConditionModel layerConditionModel)
 {
     LayerConditionVms.Remove(layerConditionViewModel);
     Layer.Properties.Conditions.Remove(layerConditionModel);
 }
Пример #2
0
        public void AddCondition()
        {
            var condition = new LayerConditionModel();

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