1 instantiation of TaskFactory
mscorlib (1)
system\threading\Tasks\Task.cs (1)
154
private readonly static TaskFactory s_factory = new
TaskFactory
();
37 references to TaskFactory
mscorlib (37)
system\threading\Tasks\FutureFactory.cs (19)
101
/// to tasks created by this <see cref="
TaskFactory
"/> unless another CancellationToken is explicitly specified
177
/// to tasks created by this <see cref="
TaskFactory
"/> unless another CancellationToken is explicitly specified
210
TaskFactory
.CheckMultiTaskContinuationOptions(continuationOptions);
211
TaskFactory
.CheckCreationOptions(creationOptions);
705
TaskFactory
.CheckFromAsyncOptions(creationOptions, false);
824
TaskFactory
.CheckFromAsyncOptions(creationOptions, true);
961
TaskFactory
.CheckFromAsyncOptions(creationOptions, true);
1106
TaskFactory
.CheckFromAsyncOptions(creationOptions, true);
1258
TaskFactory
.CheckFromAsyncOptions(creationOptions, true);
1776
TaskFactory
.CheckMultiTaskContinuationOptions(continuationOptions);
1784
Task<TAntecedentResult>[] tasksCopy =
TaskFactory
.CheckMultiContinuationTasksAndCopy<TAntecedentResult>(tasks);
1795
var starter =
TaskFactory
.CommonCWAllLogic(tasksCopy);
1823
TaskFactory
.CheckMultiTaskContinuationOptions(continuationOptions);
1831
Task[] tasksCopy =
TaskFactory
.CheckMultiContinuationTasksAndCopy(tasks);
1842
var starter =
TaskFactory
.CommonCWAllLogic(tasksCopy);
2175
TaskFactory
.CheckMultiTaskContinuationOptions(continuationOptions);
2185
Task<Task> starter =
TaskFactory
.CommonCWAnyLogic(tasks);
2223
TaskFactory
.CheckMultiTaskContinuationOptions(continuationOptions);
2232
var starter =
TaskFactory
.CommonCWAnyLogic(tasks);
system\threading\Tasks\Task.cs (7)
104
/// cref="System.Threading.Tasks.
TaskFactory
"/> instance that can be used to create tasks for several
154
private readonly static
TaskFactory
s_factory = new TaskFactory();
1640
/// of <see cref="System.Threading.Tasks.
TaskFactory
"/>, as would result from using
1643
public static
TaskFactory
Factory { get { return s_factory; } }
5492
Task<Task> firstCompleted =
TaskFactory
.CommonCWAnyLogic(tasks);
6490
return
TaskFactory
.CommonCWAnyLogic(tasksCopy);
6528
return
TaskFactory
.CommonCWAnyLogic(taskList);
system\threading\Tasks\TaskFactory.cs (11)
34
/// There are many common patterns for which tasks are relevant. The <see cref="
TaskFactory
"/>
39
/// A default instance of <see cref="
TaskFactory
"/> is available through the
80
/// Initializes a <see cref="
TaskFactory
"/> instance with the default configuration.
83
/// This constructor creates a <see cref="
TaskFactory
"/> instance with a default configuration. The
98
/// Initializes a <see cref="
TaskFactory
"/> instance with the specified configuration.
101
/// to tasks created by this <see cref="
TaskFactory
"/> unless another CancellationToken is explicitly specified
104
/// This constructor creates a <see cref="
TaskFactory
"/> instance with a default configuration. The
119
/// Initializes a <see cref="
TaskFactory
"/> instance with the specified configuration.
143
/// Initializes a <see cref="
TaskFactory
"/> instance with the specified configuration.
174
/// Initializes a <see cref="
TaskFactory
"/> instance with the specified configuration.
177
/// to tasks created by this <see cref="
TaskFactory
"/> unless another CancellationToken is explicitly specified