9 implementations of ITaskCompletionAction
mscorlib (9)
system\io\stream.cs (1)
612
private sealed class ReadWriteTask : Task<int>,
ITaskCompletionAction
system\threading\Tasks\Task.cs (5)
3294
private sealed class SetOnInvokeMres : ManualResetEventSlim,
ITaskCompletionAction
5223
private sealed class SetOnCountdownMres : ManualResetEventSlim,
ITaskCompletionAction
6089
private sealed class WhenAllPromise : Task<VoidTaskResult>,
ITaskCompletionAction
6333
private sealed class WhenAllPromise<T> : Task<T[]>,
ITaskCompletionAction
7135
internal sealed class UnwrapPromise<TResult> : Task<TResult>,
ITaskCompletionAction
system\threading\Tasks\TaskFactory.cs (3)
1634
private sealed class CompleteOnCountdownPromise : Task<Task[]>,
ITaskCompletionAction
1712
private sealed class CompleteOnCountdownPromise<T> : Task<Task<T>[]>,
ITaskCompletionAction
2415
internal sealed class CompleteOnInvokePromise : Task<Task>,
ITaskCompletionAction
13 references to ITaskCompletionAction
mscorlib (13)
system\io\stream.cs (1)
677
void
ITaskCompletionAction
.Invoke(Task completingTask)
system\threading\Tasks\Task.cs (12)
3622
ITaskCompletionAction
singleTaskCompletionAction = continuationObject as
ITaskCompletionAction
;
3707
Contract.Assert(currentContinuation is
ITaskCompletionAction
, "Expected continuation element to be Action, TaskContinuation, or ITaskContinuationAction");
3708
var
action = (
ITaskCompletionAction
)currentContinuation;
4689
!(this is
ITaskCompletionAction
))
4712
internal void AddCompletionAction(
ITaskCompletionAction
action)
4717
private void AddCompletionAction(
ITaskCompletionAction
action, bool addBeforeOthers)
6634
ITaskCompletionAction
singleCompletionAction = continuationObject as
ITaskCompletionAction
;
6682
private readonly
ITaskCompletionAction
m_action;
6685
internal CompletionActionInvoker(
ITaskCompletionAction
action, Task completingTask)