예제 #1
0
 static public void Add <T>(this Roulette <T> item, params KeyValuePair <T, float>[] to_add)
 {
     item.Add((IEnumerable <KeyValuePair <T, float> >)to_add);
 }
예제 #2
0
 static public void Add <T>(this Roulette <T> item, KeyValuePair <T, float> pair)
 {
     item.Add(pair.Key, pair.Value);
 }
예제 #3
0
 static public void Add <T>(this Roulette <T> item, IEnumerable <KeyValuePair <T, float> > to_add)
 {
     to_add.Process(b => item.Add(b));
 }