Class TaskLinq
Namespace: Ludiq
Syntax
public static class TaskLinq
Fields
parallelizeByDefault
Declaration
public static bool parallelizeByDefault
Field Value
Methods
ForEachTask<T>(IEnumerable<T>, String, Action<T>)
Declaration
public static void ForEachTask<T>(this IEnumerable<T> items, string title, Action<T> action)
Parameters
Type Parameters
ForEachTask<T>(IEnumerable<T>, String, Boolean, Func<T, String>, Action<T>)
Declaration
public static void ForEachTask<T>(this IEnumerable<T> items, string title, bool parallelize, Func<T, string> getLabel, Action<T> action)
Parameters
Type Parameters
SelectManyTask<TSource, TResult>(IEnumerable<TSource>, String, Boolean, Func<TSource, String>, Func<TSource, IEnumerable<TResult>>)
Declaration
public static HashSet<TResult> SelectManyTask<TSource, TResult>(this IEnumerable<TSource> items, string title, bool parallelize, Func<TSource, string> getLabel, Func<TSource, IEnumerable<TResult>> selector)
Parameters
Returns
Type |
Description |
HashSet<TResult> |
|
Type Parameters
Name |
Description |
TSource |
|
TResult |
|
SelectManyTask<TSource, TResult>(IEnumerable<TSource>, String, Func<TSource, IEnumerable<TResult>>)
Declaration
public static HashSet<TResult> SelectManyTask<TSource, TResult>(this IEnumerable<TSource> items, string title, Func<TSource, IEnumerable<TResult>> selector)
Parameters
Returns
Type |
Description |
HashSet<TResult> |
|
Type Parameters
Name |
Description |
TSource |
|
TResult |
|
SelectTask<TSource, TResult>(IEnumerable<TSource>, String, Boolean, Func<TSource, String>, Func<TSource, TResult>)
Declaration
public static HashSet<TResult> SelectTask<TSource, TResult>(this IEnumerable<TSource> items, string title, bool parallelize, Func<TSource, string> getLabel, Func<TSource, TResult> selector)
Parameters
Returns
Type |
Description |
HashSet<TResult> |
|
Type Parameters
Name |
Description |
TSource |
|
TResult |
|
SelectTask<TSource, TResult>(IEnumerable<TSource>, String, Func<TSource, TResult>)
Declaration
public static HashSet<TResult> SelectTask<TSource, TResult>(this IEnumerable<TSource> items, string title, Func<TSource, TResult> selector)
Parameters
Returns
Type |
Description |
HashSet<TResult> |
|
Type Parameters
Name |
Description |
TSource |
|
TResult |
|
SelectWhereTask<TSource, TResult>(IEnumerable<TSource>, String, Boolean, Func<TSource, String>, Func<TSource, Boolean>, Func<TSource, TResult>)
Declaration
public static HashSet<TResult> SelectWhereTask<TSource, TResult>(this IEnumerable<TSource> items, string title, bool parallelize, Func<TSource, string> getLabel, Func<TSource, bool> predicate, Func<TSource, TResult> selector)
Parameters
Returns
Type |
Description |
HashSet<TResult> |
|
Type Parameters
Name |
Description |
TSource |
|
TResult |
|
SelectWhereTask<TSource, TResult>(IEnumerable<TSource>, String, Func<TSource, Boolean>, Func<TSource, TResult>)
Declaration
public static HashSet<TResult> SelectWhereTask<TSource, TResult>(this IEnumerable<TSource> items, string title, Func<TSource, bool> predicate, Func<TSource, TResult> selector)
Parameters
Returns
Type |
Description |
HashSet<TResult> |
|
Type Parameters
Name |
Description |
TSource |
|
TResult |
|
WhereTask<T>(IEnumerable<T>, String, Boolean, Func<T, String>, Func<T, Boolean>)
Declaration
public static HashSet<T> WhereTask<T>(this IEnumerable<T> items, string title, bool parallelize, Func<T, string> getLabel, Func<T, bool> predicate)
Parameters
Returns
Type |
Description |
HashSet<T> |
|
Type Parameters
WhereTask<T>(IEnumerable<T>, String, Func<T, Boolean>)
Declaration
public static HashSet<T> WhereTask<T>(this IEnumerable<T> items, string title, Func<T, bool> predicate)
Parameters
Returns
Type |
Description |
HashSet<T> |
|
Type Parameters