nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Runtime / Linq

Linq

Full name Microsoft.VisualBasic.My.JavaScript.Linq Assembly Microsoft.VisualBasic.Runtime Members 14

01 Syntax

Microsoft.VisualBasic.My.JavaScript.Linq

02 Methods

NameOverloadsSummary
reduce 3
reduce 2
pop 1 用于删除并返回数组的最后一个元素。
shift 1 用于把数组的第一个元素从其中删除,并返回第一个元素的值。
splice 1
findIndex 1
map 1
reduce 1
sort 1
pop 1
shift 1

03 Members

method reduce overload 3 #
reduce``2(IEnumerable(Of ``0), Func(Of ``1, ``0, Int32, ``1), ``1)
Type Parameters
NameDescription
T

序列的类型

V

序列进行降维之后的结果类型

Parameters
NameTypeDescription
seqIEnumerable(Of ``0)

-

produceFunc(Of ``1, ``0, Int32, ``1)

-

init``1

-

method reduce overload 2 #
reduce``2(IEnumerable(Of ``0), Func(Of ``1, ``0, Int32, ``0(), ``1), ``1)
Type Parameters
NameDescription
T

序列的类型

V

序列进行降维之后的结果类型

Parameters
NameTypeDescription
seqIEnumerable(Of ``0)

-

produceFunc(Of ``1, ``0, Int32, ``0(), ``1)

-

init``1

-

method reduce #
reduce``2(IEnumerable(Of ``0), Func(Of ``1, ``0, ``1), ``1)
Type Parameters
NameDescription
T

序列的类型

V

序列进行降维之后的结果类型

Parameters
NameTypeDescription
seqIEnumerable(Of ``0)

-

produceFunc(Of ``1, ``0, ``1)

-

init``1

-

method reduce overload 2 #
reduce``1(Array, Func(Of ``0, Object, Int32, ``0), ``0)
Type Parameters
NameDescription
V

序列进行降维之后的结果类型

Parameters
NameTypeDescription
seqArray

-

produceFunc(Of ``0, Object, Int32, ``0)

-

init``0

-

method reduce #
reduce``1(Array, Func(Of ``0, Object, ``0), ``0)
Type Parameters
NameDescription
V

序列进行降维之后的结果类型

Parameters
NameTypeDescription
seqArray

-

produceFunc(Of ``0, Object, ``0)

-

init``0

-

method pop #
pop``1(``0())

用于删除并返回数组的最后一个元素。

Type Parameters
NameDescription
T
Parameters
NameTypeDescription
a``0()

-

method shift #
shift``1(``0())

用于把数组的第一个元素从其中删除,并返回第一个元素的值。

Type Parameters
NameDescription
T
Parameters
NameTypeDescription
a``0()

-

method splice #
splice(T(), Int32, Int32, T())
method findIndex #
findIndex(T(), Predicate(Of T))
method map #
map(IEnumerable(Of T), Func(Of T, Int32, V))
method reduce #
reduce(IEnumerable(Of T), Func(Of V, T, Int32, V), V)
method sort #
sort(IEnumerable(Of T), Comparison(Of T))
method pop #
pop(T())
method shift #
shift(T())