Пример #1
0
 public static Generic.IEnumerator <T> Prepend <T>(this Generic.IEnumerator <T> me, params T[] other)
 {
     return(me.Prepend(((Generic.IEnumerable <T>)other).GetEnumerator()));
 }
Пример #2
0
 public void Prepend(Generic.IEnumerable <char> expect, Generic.IEnumerator <char> prefix, Generic.IEnumerator <char> postfix)
 {
     Assert.Equal(expect.ToArray(), postfix.Prepend(prefix).ToArray());
 }