コード例 #1
0
        internal virtual TElement[] SortSource()
        {
            var list = JsImplEnumerable.ToArray(source).AsJsArray();

            list.sort(Compare);
            return(list.AsArray());
        }
コード例 #2
0
 public override IEnumerable <TResult2> Select <TResult2>(Func <TResult, TResult2> selector)
 {
     return(new JsImplEnumerable.WhereSelectListIterator <TSource, TResult2>(this.source, this.predicate, JsImplEnumerable.CombineSelectors <TSource, TResult, TResult2>(this.selector, selector)));
 }
コード例 #3
0
 public override IEnumerable <TSource> Where(Func <TSource, bool> predicate)
 {
     return(new JsImplEnumerable.WhereListIterator <TSource>(this.source, JsImplEnumerable.CombinePredicates <TSource>(this.predicate, predicate)));
 }