public UserIndexFilter(UserIndexFilter filter) { IndexFormula = filter.IndexFormula; foreach (var con in filter.conditions) { conditions.Add(new UserIndexFilterCondition(con)); } }