public FilterConditionViewModel GetDuplicate(FilterConditionGroupViewModel newParent)
 {
     FilterConditionViewModel newCond = new FilterConditionViewModel(newParent);
     newCond.Column = this.Column;
     newCond.Comparison = this.Comparison;
     newCond.Value = this.Value;
     newCond.IsEnabled = this.IsEnabled;
     return newCond;
 }
 public void LoadFromString(IEnumerable<string> lines)
 {
     Conditions.Clear();
     foreach (string line in lines)
     {
         FilterConditionViewModel cond = new FilterConditionViewModel(this);
         cond.LoadFromString(line);
         Conditions.Add(cond);
     }
     CheckConditionsConsistency();
 }