Common extension methods library for convenient the programming job.
Extensions
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| is_empty | 1 | check of the given object is nothing or value is empty? |
| DescriptionValue | 1 | get description text value from DescriptionAttribute. |
| Range | 1 | Create the numeric range from a numeric value collection |
| Slice | 1 | 将目标值域切割为等长递增的n个值域 |
| MD5 | 1 | Get target string's md5 hash code |
| Second | 1 | Returns the second element in the source collection, if the collection is nothing or elements count not enough, then will returns nothing if the suppressError option was opend,… |
| Add | 1 | Adds the elements of the specified collection to the end of the List1. |
| Constrain | 1 | Constrain the inherits class type into the base type. |
| ToBoolean | 1 | 0 -> False 1 -> True |
| AddRange | 3 | add all elements inside the given data collection into the dictionary |
| AddRange | 1 | merge the given data key-value pair data into current directory and then returns the current directory object |
| DateToString | 1 | Format the datetime value in the format of yy/mm/dd hh:min |
| JoinBy | 2 | String,这是一个安全的函数,当数组为空的时候回返回空字符串 |
| Invoke | 1 | Invoke a folked system process object to execute a parallel task. |
| DriverRun | 1 | Run the driver in a new thread, NOTE: from this extension function calls, then run thread is already be started, so that no needs of calling the method Thread.Start() again. |
| TryCount | 1 | Gets the element counts in the target data collection, if the collection object is nothing or empty then this function will returns ZERO, others returns Collection.Count. |
| Offset | 2 | All of the number value in the target array offset a integer value. |
| InlineCopy | 1 | Value assignment to the target variable. |
| ShadowCopy | 11 | Copy the source value directly to the target variable and then return the source value. |
| ModifyValue | 1 | Modify target object property value using a specific value provider and then return original instance object. |
| InsertOrUpdate | 1 | Insert data or update the exists data in the dictionary, if the target object with IKeyedEntity.Key is not exists in the dictionary, then will be insert, else the old value will… |
| Remove | 1 | Remove target object from dictionary. |
| ToVector | 1 | Merge the target array collection into one collection.(将目标数组的集合合并为一个数组) |
| Unlist | 1 | Empty list will be skip and ignored. |
| MatrixToUltraLargeVector | 1 | Merge the target array collection into one collection. |
| MatrixTranspose | 1 | 矩阵转置: 将矩阵之中的元素进行行列位置的互换 |
| MatrixTransposeIgnoredDimensionAgreement | 1 | 将矩阵之中的元素进行行列位置的互换,请注意,假若长度不一致的话,会按照最短的元素来转置,故而使用本函数可能会造成一些信息的丢失 |
| SplitMV | 1 | |
| IsNaNImaginary | 1 | The target parameter n value is NaN or not a real number or not? |
| FuzzyMatching | 1 | Fuzzy match two string, this is useful for the text query or searching. |
| CheckDuplicated | 1 | 函数只返回有重复的数据 |
| RemoveDuplicates | 1 | 移除重复的对象,这个函数是根据对象所生成的标签来完成的 |
| TrimNull | 1 | Remove all of the null object in the target object collection. |
| TrimNull | 1 | Remove all of the null object in the target object collection |
| Shuffles | 1 | Return a collection with randomize element position in the original collection. |
| SeqRandom | 1 | Generates the shuffle index result |
| ToStringArray | 1 | Convert target object type collection into a string array using the InputHandler.ToString()) interface function. |
| Swap | 2 | swap two element in the array |
| SwapItem | 1 | Swap the two item position in the target list. |
| WriteAddress | 1 | Add array location index value for the IAddressOf elements in the sequence. |
| Sequence | 1 | Gets the subscript index of a generic collection.(获取某一个集合的下标的集合) |
| Sequence | 1 | Alias of the linq function Enumerable.Range()) |
| ToDictionary | 1 | 将目标键值对对象的集合转换为一个字典对象 |
| ToArray | 2 | [height, width] or [rows, columns] |
| Shell | 1 | 执行一个命令行语句,并返回一个IO重定向对象,以获取被执行的目标命令的标准输出 |
| π | 1 | 获取一个实数集合中所有元素的积 |
| Removes | 1 | Remove all of the element in the collection from target list |
| RemoveLast | 2 | Removes the last element in the List object. |
| RemoveFirst | 1 | Removes the first element and then returns the list |
| DescriptionValue | 1 | |
| Sum | 1 | |
| ToString | 1 | |
| Average | 1 | |
| Second | 1 | |
| Add | 1 | |
| IndexOf | 1 | |
| Set | 1 | |
| Constrain | 1 | |
| AddRange | 3 | |
| ToNormalizedPathString | 1 | |
| TryCount | 1 | |
| InvokeSet | 1 | |
| InlineCopy | 1 | |
| ShadowCopy | 11 | |
| ModifyValue | 1 | |
| InsertOrUpdate | 1 | |
| Remove | 1 | |
| ToVector | 1 | |
| Unlist | 1 | |
| MatrixToUltraLargeVector | 1 | |
| MatrixTranspose | 1 | |
| MatrixTransposeIgnoredDimensionAgreement | 1 | |
| CheckDuplicated | 1 | |
| RemoveDuplicates | 1 | |
| Shuffles | 1 | |
| ToStringArray | 1 | |
| Swap | 2 | |
| SwapItem | 1 | |
| WriteAddress | 1 | |
| WriteLines | 1 | |
| AsRange | 1 | |
| LongSeq | 2 | |
| ToDictionary | 1 | |
| Removes | 1 | |
| RemoveLast | 1 | |
| RemoveFirst | 1 |
03 Members
check of the given object is nothing or value is empty?
| Name | Type | Description |
|---|---|---|
obj | IsEmpty | - |
``0)get description text value from DescriptionAttribute.
this function is used for get the description text value from the GetType value Type of the given obj. this function may not working for the reflection result value, example as when obj is PropertyInfo, MethodInfo or something, due to the reason of gettype of these reflection object contains no description data in .net framework.
20240414 change the function name from Description to DescriptionValue due to the reason of the function name of Description will always overloads other extension method which is named Description.
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
obj | ``0 | - |
IEnumerable(Of Double), Double)Create the numeric range from a numeric value collection
| Name | Type | Description |
|---|---|---|
data | IEnumerable(Of Double) | - |
Int32)将目标值域切割为等长递增的n个值域
| Name | Type | Description |
|---|---|---|
range | DoubleRange | - |
n% | Int32 | - |
String)Get target string's md5 hash code
| Name | Type | Description |
|---|---|---|
s | String | any text data |
a 32 bit md5 string in lower case, this function may returns empty hashcode string if the given input string s is empty.
IEnumerable(Of ``0), Boolean, ``0)Returns the second element in the source collection, if the collection is nothing or elements count not enough, then will returns nothing if the suppressError option was opend, otherwise this function will throw exception.
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
source | IEnumerable(Of ``0) | - |
``0())Adds the elements of the specified collection to the end of the List`1. (会自动跳过空集合,这个方法是安全的)
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
list | List(Of ``0) | - |
value | ``0() | The collection whose elements should be added to the end of the List`1. |
IEnumerable(Of ``1))Constrain the inherits class type into the base type. (基类集合与继承类的集合约束)
| Name | Description |
|---|---|
T | 继承类向基类进行约束 |
Tbase | 基类 |
Int64)0 -> False 1 -> True
| Name | Type | Description |
|---|---|---|
b | Int64 | - |
Dictionary(Of String, ``0), IEnumerable(Of ``0), Func(Of ``0, String), Boolean)add all elements inside the given data collection into the dictionary
this function will skip add if the given data collection is nothing
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
table | Dictionary(Of String, ``0) | - |
data | IEnumerable(Of ``0) | - |
key | Func(Of ``0, String) | - |
replaceDuplicated | Boolean | - |
Dictionary(Of String, ``0), IEnumerable(Of NamedValue(Of ``0)), Boolean)| Name | Type | Description |
|---|---|---|
table | Dictionary(Of String, ``0) | - |
data | IEnumerable(Of NamedValue(Of ``0)) | - |
replaceDuplicated | Boolean | 这个函数参数决定了在遇到重复的键名称的时候的处理方法:
|
LinkedList(Of ``0), IEnumerable(Of ``0))Add a linked list of a collection of specific type of data.
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
list | LinkedList(Of ``0) | - |
data | IEnumerable(Of ``0) | - |
Dictionary(Of ``0, ``1), IEnumerable(Of KeyValuePair(Of ``0, ``1)), Boolean)merge the given data key-value pair data into current directory and then returns the current directory object
| Name | Description |
|---|---|
TKey | |
TValue |
| Name | Type | Description |
|---|---|---|
table | Dictionary(Of ``0, ``1) | - |
data | IEnumerable(Of KeyValuePair(Of ``0, ``1)) | - |
replaceDuplicated | Boolean | 这个函数参数决定了在遇到重复的键名称的时候的处理方法:
|
DateTime)Format the datetime value in the format of yy/mm/dd hh:min
| Name | Type | Description |
|---|---|---|
dat | DateTime | - |
IEnumerable(Of String), String)Join the string tokens with a given delimiter text.
这是一个安全的函数,当数组为空的时候回返回空字符串
| Name | Type | Description |
|---|---|---|
tokens | IEnumerable(Of String) | parts of the string tokens for make join |
delimiter | String | the delimiter for make string join. |
This is a safe function: if the source string collection is nothing, then whistle function will returns a empty string instead of throw exception.
(a safe wrapper of String.Join())
IEnumerable(Of Int32), String)String,这是一个安全的函数,当数组为空的时候回返回空字符串
| Name | Type | Description |
|---|---|---|
values | IEnumerable(Of Int32) | - |
delimiter | String | - |
Process)Invoke a folked system process object to execute a parallel task. (本方法会执行外部命令并等待其执行完毕,函数返回状态值)
| Name | Type | Description |
|---|---|---|
process | Process | - |
Boolean)Run the driver in a new thread, NOTE: from this extension function calls, then run thread is already be started, so that no needs of calling the method Thread.Start() again. (使用线程的方式启动,在函数调用之后,线程是已经启动了的,所以不需要再次调用Thread.Start()方法了)
if the parameter sync value is set to TRUE, then the given task function driver will be run in the caller thread, a caller thread will be blocked at this function in sync mode, this function will returns nothing
otherwise if the parameter sync value is set to FASLE by default, then the given task function driver will be running in a new thread, the new allocated thread object will be returned from this function.
| Name | Type | Description |
|---|---|---|
driver | ITaskDriver | The object which is implements the interface ITaskDriver |
IEnumerable(Of ``0))Gets the element counts in the target data collection, if the collection object is nothing or empty then this function will returns ZERO, others returns Collection.Count.
(返回一个数据集合之中的元素的数目, 假若这个集合是空值或者空的,则返回0,其他情况则返回Count拓展函数的结果)
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
collection | IEnumerable(Of ``0) | - |
this is a safe function: this function returns zero if the given input collection object is nothing
Int32(), Int32)All of the number value in the target array offset a integer value.
| Name | Type | Description |
|---|---|---|
array | Int32() | - |
intOffset | Int32 | - |
Int64(), Int32)All of the number value in the target array offset a integer value.
| Name | Type | Description |
|---|---|---|
array | Int64() | - |
intOffset | Int32 | - |
``0, ``0)Value assignment to the target variable.
(将value参数里面的值赋值给var参数然后返回value)
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
var | ``0 | - |
value | ``0 | - |
``0, ``0, ``0)Copy the source value directly to the target variable and then return the source value.
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
source | ``0 | - |
``0, ``0, ``0, ``0)Copy the source value directly to the target variable and then return the source value.
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
source | ``0 | - |
``0, ``0, ``0, ``0, ``0)Copy the source value directly to the target variable and then return the source value.
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
source | ``0 | - |
``0, ``0, ``0, ``0, ``0, ``0)Copy the source value directly to the target variable and then return the source value.
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
source | ``0 | - |
``0, ``0, ``0, ``0, ``0, ``0, ``0)Copy the source value directly to the target variable and then return the source value.
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
source | ``0 | - |
``0, ``0, ``0, ``0, ``0, ``0, ``0, ``0)Copy the source value directly to the target variable and then return the source value.
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
source | ``0 | - |
``0, ``0, ``0, ``0, ``0, ``0, ``0, ``0, ``0)Copy the source value directly to the target variable and then return the source value.
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
source | ``0 | - |
``0, ``0, ``0, ``0, ``0, ``0, ``0, ``0, ``0, ``0)Copy the source value directly to the target variable and then return the source value.
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
source | ``0 | - |
``0, ``0, ``0, ``0, ``0, ``0, ``0, ``0, ``0, ``0, ``0)Copy the source value directly to the target variable and then return the source value.
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
source | ``0 | - |
``0, ``0, ``0, ``0, ``0, ``0, ``0, ``0, ``0, ``0, ``0, ``0)Copy the source value directly to the target variable and then return the source value.
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
source | ``0 | - |
``0, ``0, ``0, ``0, ``0, ``0, ``0, ``0, ``0, ``0, ``0, ``0, ``0)Copy the source value directly to the target variable and then return the source value.
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
source | ``0 | - |
Modify target object property value using a specific value provider and then return original instance object. (修改目标对象的属性之后返回目标对象)
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
obj | PropertyInfo | - |
Dictionary(Of String, ``0), ``0)Insert data or update the exists data in the dictionary, if the target object with IKeyedEntity.Key is not exists in the dictionary, then will be insert, else the old value will be replaced with the parameter value item. (向字典对象之中更新或者插入新的数据,假若目标字典对象之中已经存在了一个数据的话,则会将原有的数据覆盖,并返回原来的数据)
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
dict | Dictionary(Of String, ``0) | - |
item | ``0 | - |
Dictionary(Of String, ``0), ``0)Remove target object from dictionary.
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
dict | Dictionary(Of String, ``0) | - |
item | ``0 | - |
IEnumerable(Of IEnumerable(Of ``0)))Merge the target array collection into one collection.(将目标数组的集合合并为一个数组)
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
source | IEnumerable(Of IEnumerable(Of ``0)) | - |
IEnumerable(Of IEnumerable(Of ``0)))Empty list will be skip and ignored. (这是一个安全的方法,空集合会被自动跳过,并且这个函数总是返回一个集合不会返回空值)
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
source | IEnumerable(Of IEnumerable(Of ``0)) | - |
IEnumerable(Of ``0()))Merge the target array collection into one collection. (将目标数组的集合合并为一个数组,这个方法是提供给超大的集合的,即元素的数目非常的多的,即超过了Int32的上限值)
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
source | IEnumerable(Of ``0()) | - |
IEnumerable(Of ``0()), Boolean)矩阵转置: 将矩阵之中的元素进行行列位置的互换
| Name | Description |
|---|---|
T | 矩阵之中的元素类型 |
| Name | Type | Description |
|---|---|---|
MAT | IEnumerable(Of ``0()) | 为了方便理解和使用,矩阵使用数组的数组来表示的 |
IEnumerable(Of ``0()), Boolean)将矩阵之中的元素进行行列位置的互换,请注意,假若长度不一致的话,会按照最短的元素来转置,故而使用本函数可能会造成一些信息的丢失
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
MAT | IEnumerable(Of ``0()) | - |
String, String, Int32)| Name | Type | Description |
|---|---|---|
DIR | String | The source directory. |
moveTo | String | - |
Split | Int32 | - |
Double)The target parameter n value is NaN or not a real number or not?
(判断目标实数是否为一个无穷数或者非计算的数字,产生的原因主要来自于除0运算结果或者达到了 Double的上限或者下限)
| Name | Type | Description |
|---|---|---|
n | Double | - |
String, String, Boolean, Double)Fuzzy match two string, this is useful for the text query or searching. (请注意,这个函数是不会自动转换大小写的,如果是需要字符大小写不敏感, 请先将query以及subject都转换为小写)
| Name | Type | Description |
|---|---|---|
query | String | - |
Subject | String | - |
IEnumerable(Of ``0), Func(Of ``0, ``1))函数只返回有重复的数据
| Name | Description |
|---|---|
T | |
TTag |
| Name | Type | Description |
|---|---|---|
source | IEnumerable(Of ``0) | - |
getKey | Func(Of ``0, ``1) | - |
IEnumerable(Of ``0), Func(Of ``0, ``1))移除重复的对象,这个函数是根据对象所生成的标签来完成的
| Name | Description |
|---|---|
T | |
Tag |
| Name | Type | Description |
|---|---|---|
source | IEnumerable(Of ``0) | - |
getKey | Func(Of ``0, ``1) | 得到对象的标签 |
IEnumerable(Of ``0))Remove all of the null object in the target object collection. (这个是一个安全的方法,假若目标集合是空值,则函数会返回一个空的集合)
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
source | IEnumerable(Of ``0) | - |
IEnumerable(Of String))Remove all of the null object in the target object collection
| Name | Type | Description |
|---|---|---|
source | IEnumerable(Of String) | - |
IEnumerable(Of ``0))Return a collection with randomize element position in the original collection.
this method can be affected by the RandomExtensions.SetSeed() method. (从原有序序列中获取一个随机元素的序列)
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
source | IEnumerable(Of ``0) | - |
Int32)Generates the shuffle index result
- generates a index vector in range 0:n-1
- make index shuffles
returns the shuffles result.
(返回n长度的序列数值,这些序列数值是打乱顺序的,但是升序排序之后会得到1:n的序列 请注意,这个序列并不是随机数,而是将n长度的序列之中的元素打乱顺序的结果)
| Name | Type | Description |
|---|---|---|
n | Int32 | the size of the index vector |
IEnumerable(Of ``0), String)Convert target object type collection into a string array using the InputHandler.ToString() interface function.
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
source | IEnumerable(Of ``0) | - |
A string array
``0(), Int32, Int32)swap two element in the array
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
array | ``0() | - |
a% | Int32 | - |
b% | Int32 | - |
``0, ``0)Swap the value in the two variables.
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
obj1 | ``0 | - |
obj2 | ``0 | - |
Swap the two item position in the target list.
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
list | List(Of ``0) | - |
obj_1 | ``0 | - |
obj_2 | ``0 | - |
IEnumerable(Of ``0), Int32)Add array location index value for the IAddressOf elements in the sequence. (为列表中的对象添加对象句柄值)
| Name | Type | Description |
|---|---|---|
source | IEnumerable(Of ``0) | - |
IEnumerable(Of ``0), Int32)Gets the subscript index of a generic collection.(获取某一个集合的下标的集合)
| Name | Description |
|---|---|
T | 集合中的元素为任意类型的 |
| Name | Type | Description |
|---|---|---|
source | IEnumerable(Of ``0) | 目标集合对象 |
A integer array of subscript index of the target generic collection.
Int32)Alias of the linq function Enumerable.Range()
| Name | Type | Description |
|---|---|---|
range | IntRange | - |
IEnumerable(Of KeyValuePair(Of ``0, ``1)), Boolean)将目标键值对对象的集合转换为一个字典对象
| Name | Description |
|---|---|
TKey | |
TValue |
| Name | Type | Description |
|---|---|---|
source | IEnumerable(Of KeyValuePair(Of ``0, ``1)) | - |
remoteDuplicates | Boolean | 当这个参数为False的时候,出现重复的键名会抛出错误,当为True的时候,有重复的键名存在的话,可能会丢失一部分的数据 |
Size, Boolean)[height, width] or [rows, columns]
| Name | Type | Description |
|---|---|---|
size | Size | - |
reverse | Boolean | [width, height] or [columns, rows] |
SizeF, Boolean)[height, width] or [rows, columns]
| Name | Type | Description |
|---|---|---|
size | SizeF | - |
reverse | Boolean | [width, height] or [columns, rows] |
String)执行一个命令行语句,并返回一个IO重定向对象,以获取被执行的目标命令的标准输出
| Name | Type | Description |
|---|---|---|
CLI | String | - |
IEnumerable(Of Double))获取一个实数集合中所有元素的积
| Name | Type | Description |
|---|---|---|
source | IEnumerable(Of Double) | - |
IEnumerable(Of ``0))Remove all of the element in the collection from target list
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
List | List(Of ``0) | - |
collection | IEnumerable(Of ``0) | - |
Removes the last element in the List object.
(这个拓展函数同时兼容.NET框架的list类型以及sciBASIC之中的list类型)
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
clrList | List(Of ``0) | - |
Removes the last element in the List object. (这个拓展函数同时兼容.NET框架的list类型以及sciBASIC之中的List类型)
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
list | List(Of ``0) | - |
Removes the first element and then returns the list
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
list | List(Of ``0) | - |
T)IEnumerable(Of T), Func(Of T, Int32, Double))MemoryStream, Encoding)IEnumerable(Of T), Boolean, T)Dictionary(Of String, T), T)Queue(Of T), T)T(), Int32, T)IEnumerable(Of T))Dictionary(Of String, T), IEnumerable(Of T), Func(Of T, String), Boolean)Dictionary(Of String, T), IEnumerable(Of NamedValue(Of T)), Boolean)DateTime)IEnumerable(Of T))T, T)T, T, T)T, T, T, T)T, T, T, T, T)T, T, T, T, T, T)T, T, T, T, T, T, T)T, T, T, T, T, T, T, T)T, T, T, T, T, T, T, T, T)T, T, T, T, T, T, T, T, T, T)T, T, T, T, T, T, T, T, T, T, T)T, T, T, T, T, T, T, T, T, T, T, T)T, T, T, T, T, T, T, T, T, T, T, T, T)Dictionary(Of String, T), T)Dictionary(Of String, T), T)Dictionary(Of String, T), IEnumerable(Of T))IEnumerable(Of IEnumerable(Of T)))IEnumerable(Of IEnumerable(Of T)))IEnumerable(Of T()))IEnumerable(Of T()), Boolean)IEnumerable(Of T()), Boolean)IEnumerable(Of T), Func(Of T, TTag))IEnumerable(Of T), Func(Of T, Tag))IEnumerable(Of T))IEnumerable(Of T), String)T(), Int32, Int32)T, T)IEnumerable(Of T), Int32)IEnumerable(Of Int32))IEnumerable(Of T), Int32)Int64)IEnumerable(Of KeyValuePair(Of TKey, TValue)), Boolean)IEnumerable(Of T))