public static IValueList SetAll(this IValueList list, IValueFactory factory, IEnumerable <Path> values) { list.Clear(); foreach (var value in values) { list.Add(factory.Create(value.ToString())); } return(list); }
public static IValueList SetAll(this IValueList list, IEnumerable <IValue> values) { list.Clear(); foreach (var value in values) { list.Add(value); } return(list); }