JoinExtensions
01 Syntax
Microsoft.VisualBasic.Linq.JoinExtensions
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| IteratesALL | 1 | Iterates all of the elements in a two dimension collection as the data source for the linq expression or ForEach statement. |
| JoinIterates | 1 | First, iterate populates the elements in collection a, and then populate out all of the elements on collection b |
| IteratesALL | 1 | |
| Concatenate | 1 | |
| JoinMany | 1 | |
| JoinIterates | 1 |
03 Members
IteratesALL``1(
IEnumerable(Of IEnumerable(Of ``0)))Iterates all of the elements in a two dimension collection as the data source for the linq expression or ForEach statement.
(适用于二维的集合做为linq的数据源,不像Extensions.Unlist()是进行转换, 这个是返回迭代器的,推荐使用这个函数)
Remarks
this function is a safe function, the null collection value in the given source will be ignored
Type Parameters
| Name | Description |
|---|---|
T |
Parameters
| Name | Type | Description |
|---|---|---|
source | IEnumerable(Of IEnumerable(Of ``0)) | - |
JoinIterates``1(
IEnumerable(Of ``0), IEnumerable(Of ``0))First, iterate populates the elements in collection a, and then populate out all of the elements on collection b
Type Parameters
| Name | Description |
|---|---|
T |
Parameters
| Name | Type | Description |
|---|---|---|
a | IEnumerable(Of ``0) | Object collection |
b | IEnumerable(Of ``0) | Another object collection. |
Returns
a or b will be ignored if collection object is nothing
IteratesALL(
IEnumerable(Of IEnumerable(Of T)))Concatenate(
IEnumerable(Of T)())JoinMany(
IEnumerable(Of T), IEnumerable(Of IEnumerable(Of T)))JoinIterates(
IEnumerable(Of T), IEnumerable(Of T))