예제 #1
0
 public static IValueList Append(this IValueList list, IValueFactory factory, IEnumerable <Path> values)
 {
     foreach (var value in values)
     {
         list.Add(factory.Create(value.ToString()));
     }
     return(list);
 }
예제 #2
0
 public static IValueList Append(this IValueList list, IEnumerable <IValue> values)
 {
     foreach (var value in values)
     {
         list.Add(value);
     }
     return(list);
 }
예제 #3
0
 public static IValueList SetAll(this IValueList list, IValueFactory factory, IEnumerable <string> values)
 {
     list.Clear();
     foreach (var value in values)
     {
         list.Add(factory.Create(value));
     }
     return(list);
 }
예제 #4
0
 public static IValueList SetAll(this IValueList list, IEnumerable <IValue> values)
 {
     list.Clear();
     foreach (var value in values)
     {
         list.Add(value);
     }
     return(list);
 }