1 instantiation of TaskFactory
mscorlib (1)
system\threading\Tasks\Task.cs (1)
154private 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 210TaskFactory.CheckMultiTaskContinuationOptions(continuationOptions); 211TaskFactory.CheckCreationOptions(creationOptions); 705TaskFactory.CheckFromAsyncOptions(creationOptions, false); 824TaskFactory.CheckFromAsyncOptions(creationOptions, true); 961TaskFactory.CheckFromAsyncOptions(creationOptions, true); 1106TaskFactory.CheckFromAsyncOptions(creationOptions, true); 1258TaskFactory.CheckFromAsyncOptions(creationOptions, true); 1776TaskFactory.CheckMultiTaskContinuationOptions(continuationOptions); 1784Task<TAntecedentResult>[] tasksCopy = TaskFactory.CheckMultiContinuationTasksAndCopy<TAntecedentResult>(tasks); 1795var starter = TaskFactory.CommonCWAllLogic(tasksCopy); 1823TaskFactory.CheckMultiTaskContinuationOptions(continuationOptions); 1831Task[] tasksCopy = TaskFactory.CheckMultiContinuationTasksAndCopy(tasks); 1842var starter = TaskFactory.CommonCWAllLogic(tasksCopy); 2175TaskFactory.CheckMultiTaskContinuationOptions(continuationOptions); 2185Task<Task> starter = TaskFactory.CommonCWAnyLogic(tasks); 2223TaskFactory.CheckMultiTaskContinuationOptions(continuationOptions); 2232var 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 154private readonly static TaskFactory s_factory = new TaskFactory(); 1640/// of <see cref="System.Threading.Tasks.TaskFactory"/>, as would result from using 1643public static TaskFactory Factory { get { return s_factory; } } 5492Task<Task> firstCompleted = TaskFactory.CommonCWAnyLogic(tasks); 6490return TaskFactory.CommonCWAnyLogic(tasksCopy); 6528return 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