583 references to Action
mscorlib (163)
system\array.cs (1)
1249
public static void ForEach<T>(T[] array,
Action
<T> action) {
system\collections\generic\list.cs (1)
545
public void ForEach(
Action
<T> action) {
system\diagnostics\eventing\eventsource.cs (7)
542
var
activityDying = s_activityDying;
4085
static internal
Action
<Guid> s_activityDying; // Fires when something calls SetCurrentThreadToActivity()
5584
EventSource.s_activityDying = (
Action
<Guid>)Delegate.Remove(EventSource.s_activityDying, m_myActivityDelegate);
5619
EventSource.s_activityDying = (
Action
<Guid>)Delegate.Combine(EventSource.s_activityDying, m_myActivityDelegate);
5646
EventSource.s_activityDying = (
Action
<Guid>)Delegate.Combine(EventSource.s_activityDying, filterList.m_myActivityDelegate);
5656
private static
Action
<Guid> GetActivityDyingDelegate(ActivityFilter filterList)
5757
Action
<Guid> m_myActivityDelegate;
system\io\filestream.cs (4)
427
private static
Action
<object> s_cancelReadHandler;
428
private static
Action
<object> s_cancelWriteHandler;
2640
var
cancelReadHandler = s_cancelReadHandler;
2692
var
cancelWriteHandler = s_cancelWriteHandler;
system\io\textwriter.cs (7)
51
private static
Action
<object> _WriteCharDelegate = state =>
58
private static
Action
<object> _WriteStringDelegate = state =>
65
private static
Action
<object> _WriteCharArrayRangeDelegate = state =>
72
private static
Action
<object> _WriteLineCharDelegate = state =>
79
private static
Action
<object> _WriteLineStringDelegate = state =>
86
private static
Action
<object> _WriteLineCharArrayRangeDelegate = state =>
93
private static
Action
<object> _FlushDelegate = state => ((TextWriter)state).Flush();
system\progress.cs (4)
41
private readonly
Action
<T> m_handler;
66
public Progress(
Action
<T> handler) : this()
86
Action
<T> handler = m_handler;
106
Action
<T> handler = m_handler;
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (15)
32
Action
<EventRegistrationToken> removeMethod,
62
public static void RemoveEventHandler<T>(
Action
<EventRegistrationToken> removeMethod, T handler)
87
public static void RemoveAllEventHandlers(
Action
<EventRegistrationToken> removeMethod)
229
Action
<EventRegistrationToken> removeMethod,
261
private static Dictionary<object, EventRegistrationTokenList> GetEventRegistrationTokenTable(object instance,
Action
<EventRegistrationToken> removeMethod)
288
internal static void RemoveEventHandler<T>(
Action
<EventRegistrationToken> removeMethod, T handler)
330
internal static void RemoveAllEventHandlers(
Action
<EventRegistrationToken> removeMethod)
546
private static object GetInstanceKey(
Action
<EventRegistrationToken> removeMethod)
559
Action
<EventRegistrationToken> removeMethod,
638
private static ConditionalWeakTable<object, EventRegistrationTokenListWithCount> GetEventRegistrationTokenTableNoCreate(object instance,
Action
<EventRegistrationToken> removeMethod, out TokenListCount tokenListCount)
646
private static ConditionalWeakTable<object, EventRegistrationTokenListWithCount> GetOrCreateEventRegistrationTokenTable(object instance,
Action
<EventRegistrationToken> removeMethod, out TokenListCount tokenListCount)
655
private static ConditionalWeakTable<object, EventRegistrationTokenListWithCount> GetEventRegistrationTokenTableInternal(object instance,
Action
<EventRegistrationToken> removeMethod, out TokenListCount tokenListCount, bool createIfNotFound)
693
internal static void RemoveEventHandler<T>(
Action
<EventRegistrationToken> removeMethod, T handler)
770
internal static void RemoveAllEventHandlers(
Action
<EventRegistrationToken> removeMethod)
1028
internal static void CallRemoveMethods(
Action
<EventRegistrationToken> removeMethod, List<EventRegistrationToken> tokensToRemove)
system\threading\asynclocal.cs (2)
45
private readonly
Action
<AsyncLocalValueChangedArgs<T>> m_valueChangedHandler;
59
public AsyncLocal(
Action
<AsyncLocalValueChangedArgs<T>> valueChangedHandler)
system\threading\CancellationToken.cs (5)
168
private readonly static
Action
<Object> s_ActionToActionObjShunt = new Action<Object>(ActionToActionObjShunt);
262
public CancellationTokenRegistration Register(
Action
<Object> callback, Object state)
300
public CancellationTokenRegistration Register(
Action
<Object> callback, Object state, bool useSynchronizationContext)
312
internal CancellationTokenRegistration InternalRegisterWithoutEC(
Action
<object> callback, Object state)
325
private CancellationTokenRegistration Register(
Action
<Object> callback, Object state, bool useSynchronizationContext, bool useExecutionContext)
system\threading\CancellationTokenSource.cs (4)
78
private static readonly
Action
<object> s_LinkedTokenCancelDelegate = new Action<object>(LinkedTokenCancelDelegate);
635
Action
<object> callback, object stateForCallback, SynchronizationContext targetSyncContext, ExecutionContext executionContext)
977
internal readonly
Action
<object> Callback;
984
Action
<object> callback, object stateForCallback, SynchronizationContext targetSyncContext, ExecutionContext targetExecutionContext,
system\threading\ManualResetEventSlim.cs (1)
747
private static
Action
<object> s_cancellationTokenCallback = new Action<object>(CancellationTokenCallback);
system\threading\SemaphoreSlim.cs (1)
885
private static
Action
<object> s_cancellationTokenCanceledEventHandler = new Action<object>(CancellationTokenCanceledEventHandler);
system\threading\Tasks\Future.cs (6)
735
public Task ContinueWith(
Action
<Task<TResult>> continuationAction)
763
public Task ContinueWith(
Action
<Task<TResult>> continuationAction, CancellationToken cancellationToken)
793
public Task ContinueWith(
Action
<Task<TResult>> continuationAction, TaskScheduler scheduler)
828
public Task ContinueWith(
Action
<Task<TResult>> continuationAction, TaskContinuationOptions continuationOptions)
873
public Task ContinueWith(
Action
<Task<TResult>> continuationAction, CancellationToken cancellationToken,
881
internal Task ContinueWith(
Action
<Task<TResult>> continuationAction, TaskScheduler scheduler, CancellationToken cancellationToken,
system\threading\Tasks\FutureFactory.cs (16)
536
Action
<IAsyncResult> endAction,
688
Action
<IAsyncResult> endAction,
813
Func<IAsyncResult, TResult> endFunction,
Action
<IAsyncResult> endAction,
950
Func<IAsyncResult, TResult> endFunction,
Action
<IAsyncResult> endAction,
1095
Func<IAsyncResult, TResult> endFunction,
Action
<IAsyncResult> endAction,
1247
Func<IAsyncResult, TResult> endFunction,
Action
<IAsyncResult> endAction,
1772
Func<Task<TAntecedentResult>[], TResult> continuationFunction,
Action
<Task<TAntecedentResult>[]> continuationAction,
1819
Func<Task[], TResult> continuationFunction,
Action
<Task[]> continuationAction,
1868
((
Action
<Task[]>)state)(completedTasks.Result); return default(TResult);
2171
Func<Task, TResult> continuationFunction,
Action
<Task> continuationAction,
2210
(completedTask, state) => { ((
Action
<Task>)state)(completedTask.Result); return default(TResult); },
2219
Func<Task<TAntecedentResult>, TResult> continuationFunction,
Action
<Task<TAntecedentResult>> continuationAction,
2279
var
action = (
Action
<Task<TAntecedentResult>>)state;
2299
var
action = (
Action
<Task<TAntecedentResult>[]>)state;
system\threading\Tasks\Parallel.cs (32)
430
public static ParallelLoopResult For(int fromInclusive, int toExclusive,
Action
<int> body)
459
public static ParallelLoopResult For(long fromInclusive, long toExclusive,
Action
<long> body)
498
public static ParallelLoopResult For(int fromInclusive, int toExclusive, ParallelOptions parallelOptions,
Action
<int> body)
541
public static ParallelLoopResult For(long fromInclusive, long toExclusive, ParallelOptions parallelOptions,
Action
<long> body)
772
Action
<TLocal> localFinally)
834
Action
<TLocal> localFinally)
907
Action
<TLocal> localFinally)
984
Action
<TLocal> localFinally)
1037
Action
<int> body,
1040
Func<TLocal> localInit,
Action
<TLocal> localFinally)
1352
Action
<long> body,
1355
Func<TLocal> localInit,
Action
<TLocal> localFinally)
1663
public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source,
Action
<TSource> body)
1708
public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, ParallelOptions parallelOptions,
Action
<TSource> body)
1943
Func<TSource, ParallelLoopState, TLocal, TLocal> body,
Action
<TLocal> localFinally)
2020
Func<TSource, ParallelLoopState, TLocal, TLocal> body,
Action
<TLocal> localFinally)
2089
Func<TSource, ParallelLoopState, long, TLocal, TLocal> body,
Action
<TLocal> localFinally)
2165
Func<TSource, ParallelLoopState, long, TLocal, TLocal> body,
Action
<TLocal> localFinally)
2218
Action
<TSource> body,
2223
Func<TLocal> localInit,
Action
<TLocal> localFinally)
2282
Action
<TSource> body,
2287
Func<TLocal> localInit,
Action
<TLocal> localFinally)
2341
Action
<TSource> body,
2346
Func<TLocal> localInit,
Action
<TLocal> localFinally)
2423
Action
<TSource> body)
2628
Action
<TLocal> localFinally)
2718
Action
<TLocal> localFinally)
2800
Action
<TSource> body)
3053
Action
<TLocal> localFinally)
3159
Action
<TLocal> localFinally)
3194
Action
<TSource> simpleBody,
3200
Action
<TLocal> localFinally)
system\threading\Tasks\Task.cs (18)
461
public Task(
Action
<object> action, object state)
481
public Task(
Action
<object> action, object state, CancellationToken cancellationToken)
505
public Task(
Action
<object> action, object state, TaskCreationOptions creationOptions)
533
public Task(
Action
<object> action, object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions)
540
internal Task(
Action
<object> action, object state, Task parent, CancellationToken cancellationToken,
735
private readonly static
Action
<Object> s_taskCancelCallback = new Action<Object>(TaskCancelCallback);
2532
internal virtual Task CreateReplicaTask(
Action
<object> taskReplicaDelegate, Object stateObject, Task parentTask, TaskScheduler taskScheduler,
2581
Action
<object> taskReplicaDelegate = null;
2877
var
actionWithState = m_action as
Action
<object>;
3752
public Task ContinueWith(
Action
<Task> continuationAction)
3779
public Task ContinueWith(
Action
<Task> continuationAction, CancellationToken cancellationToken)
3808
public Task ContinueWith(
Action
<Task> continuationAction, TaskScheduler scheduler)
3843
public Task ContinueWith(
Action
<Task> continuationAction, TaskContinuationOptions continuationOptions)
3888
public Task ContinueWith(
Action
<Task> continuationAction, CancellationToken cancellationToken,
3896
private Task ContinueWith(
Action
<Task> continuationAction, TaskScheduler scheduler,
6765
internal override Task CreateReplicaTask(
Action
<object> taskReplicaDelegate, Object stateObject, Task parentTask, TaskScheduler taskScheduler,
6786
internal ParallelForReplicaTask(
Action
<object> taskReplicaDelegate, Object stateObject, Task parentTask, TaskScheduler taskScheduler,
system\threading\Tasks\TaskContinuation.cs (7)
37
Contract.Requires(action is
Action
<Task> || action is Action<Task, object>,
60
var
action = m_action as
Action
<Task>;
133
Contract.Requires(action is
Action
<Task<TAntecedentResult>> || action is Action<Task<TAntecedentResult>, object>,
156
var
action = m_action as
Action
<Task<TAntecedentResult>>;
588
protected Task CreateTask(
Action
<object> action, object state, TaskScheduler scheduler)
system\threading\Tasks\TaskFactory.cs (32)
434
public Task StartNew(
Action
<Object> action, Object state)
465
public Task StartNew(
Action
<Object> action, Object state, CancellationToken cancellationToken)
497
public Task StartNew(
Action
<Object> action, Object state, TaskCreationOptions creationOptions)
540
public Task StartNew(
Action
<Object> action, Object state, CancellationToken cancellationToken,
859
Action
<IAsyncResult> endMethod)
887
Action
<IAsyncResult> endMethod,
920
Action
<IAsyncResult> endMethod,
931
Action
<IAsyncResult> endMethod,
958
Action
<IAsyncResult> endMethod,
988
Action
<IAsyncResult> endMethod, object state, TaskCreationOptions creationOptions)
1017
Action
<IAsyncResult> endMethod,
1053
Action
<IAsyncResult> endMethod,
1087
Action
<IAsyncResult> endMethod,
1126
Action
<IAsyncResult> endMethod,
1164
Action
<IAsyncResult> endMethod,
1207
Action
<IAsyncResult> endMethod,
1801
public Task ContinueWhenAll(Task[] tasks,
Action
<Task[]> continuationAction)
1833
public Task ContinueWhenAll(Task[] tasks,
Action
<Task[]> continuationAction, CancellationToken cancellationToken)
1870
public Task ContinueWhenAll(Task[] tasks,
Action
<Task[]> continuationAction, TaskContinuationOptions continuationOptions)
1917
public Task ContinueWhenAll(Task[] tasks,
Action
<Task[]> continuationAction, CancellationToken cancellationToken,
1945
public Task ContinueWhenAll<TAntecedentResult>(Task<TAntecedentResult>[] tasks,
Action
<Task<TAntecedentResult>[]> continuationAction)
1978
public Task ContinueWhenAll<TAntecedentResult>(Task<TAntecedentResult>[] tasks,
Action
<Task<TAntecedentResult>[]> continuationAction,
2017
public Task ContinueWhenAll<TAntecedentResult>(Task<TAntecedentResult>[] tasks,
Action
<Task<TAntecedentResult>[]> continuationAction,
2066
public Task ContinueWhenAll<TAntecedentResult>(Task<TAntecedentResult>[] tasks,
Action
<Task<TAntecedentResult>[]> continuationAction,
2545
public Task ContinueWhenAny(Task[] tasks,
Action
<Task> continuationAction)
2576
public Task ContinueWhenAny(Task[] tasks,
Action
<Task> continuationAction, CancellationToken cancellationToken)
2613
public Task ContinueWhenAny(Task[] tasks,
Action
<Task> continuationAction, TaskContinuationOptions continuationOptions)
2660
public Task ContinueWhenAny(Task[] tasks,
Action
<Task> continuationAction, CancellationToken cancellationToken,
3010
public Task ContinueWhenAny<TAntecedentResult>(Task<TAntecedentResult>[] tasks,
Action
<Task<TAntecedentResult>> continuationAction)
3042
public Task ContinueWhenAny<TAntecedentResult>(Task<TAntecedentResult>[] tasks,
Action
<Task<TAntecedentResult>> continuationAction,
3081
public Task ContinueWhenAny<TAntecedentResult>(Task<TAntecedentResult>[] tasks,
Action
<Task<TAntecedentResult>> continuationAction,
3130
public Task ContinueWhenAny<TAntecedentResult>(Task<TAntecedentResult>[] tasks,
Action
<Task<TAntecedentResult>> continuationAction,
PresentationFramework (8)
src\Framework\MS\Internal\Data\LiveShapingList.cs (1)
657
void ForEach(
Action
<LiveShapingItem> action)
src\Framework\MS\Internal\Data\RBTree.cs (1)
447
internal void ForEach(
Action
<T> action)
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (2)
2163
Dispatcher.BeginInvoke(DispatcherPriority.Render, (
Action
<int>)RetryBringIndexIntoView, index);
2209
Dispatcher.BeginInvoke(priority, (
Action
<int>)RetryBringIndexIntoView, index);
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (2)
1097
Action
<DependencyObject> action,
1111
Action
<DependencyObject> action,
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (2)
148
if (BeginInvokeOnUIThread((
Action
<bool>)Dispose, DispatcherPriority.Normal, disposing) == null)
755
if (BeginInvokeOnUIThread((
Action
<bool>)ClearDictionaries, DispatcherPriority.Normal, disposing) == null)
SMSvcHost (4)
System\ServiceModel\Activation\ListenerAdapter.cs (2)
31
Action
<object> closeAllListenerChannelInstancesCallback;
32
Action
<object> launchQueueInstanceCallback;
System\ServiceModel\Activation\MessageQueue.cs (2)
19
static
Action
<object> dispatchToNewWorkerCallback = new Action<object>(DispatchToNewWorkerCallback);
20
static
Action
<object> dispatchSessionCallback = new Action<object>(DispatchSessionCallback);
System (18)
compmod\system\collections\specialized\marshalinghelpers.cs (6)
174
Action
<EventRegistrationToken> removeMethod =
187
Action
<EventRegistrationToken> removeMethod =
260
Action
<EventRegistrationToken> removeMethod =
273
Action
<EventRegistrationToken> removeMethod =
350
Action
<EventRegistrationToken> removeMethod =
365
Action
<EventRegistrationToken> removeMethod =
net\System\Net\HttpWebRequest.cs (2)
278
private
Action
<Stream> _resendRequestContent;
5231
Action
<Stream> resendRequestContent)
net\System\Net\NetworkInformation\ping.cs (1)
542
private Task<PingReply> SendPingAsyncCore(
Action
<TaskCompletionSource<PingReply>> sendAsync)
net\System\Net\NetworkInformation\TeredoHelper.cs (3)
39
private readonly
Action
<object> callback;
56
private TeredoHelper(
Action
<object> callback, object state)
66
public static bool UnsafeNotifyStableUnicastIpAddressTable(
Action
<object> callback, object state)
net\System\Net\WebSockets\WebSocketConnectionStream.cs (3)
22
private static readonly
Action
<object> s_OnCancel = new Action<object>(OnCancel);
23
private static readonly
Action
<object> s_OnCancelWebSocketConnection = new Action<object>(WebSocketConnection.OnCancel);
460
private static readonly
Action
<IAsyncResult> s_EndMultipleWrite =
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (1)
29
private static readonly
Action
<object> s_OnCancel = new Action<object>(OnCancel);
sys\system\threading\Barrier.cs (2)
156
Action
<Barrier> m_postPhaseAction;
233
public Barrier(int participantCount,
Action
<Barrier> postPhaseAction)
System.Activities (24)
System\Activities\Statements\DurableTimerExtension.cs (2)
22
Action
<object> onTimerFiredCallback;
50
internal
Action
<object> OnTimerFiredCallback
System\Activities\Statements\MethodResolver.cs (1)
735
static
Action
<object> asyncExecute = new Action<object>(AsyncExecute);
System\Activities\Statements\StateMachine.cs (2)
558
void TraverseViaTransitions(
Action
<State> actionForState,
Action
<Transition> actionForTransition)
System\Activities\Tracking\TrackingParticipant.cs (1)
40
static
Action
<object> asyncExecuteTrack = new Action<object>(ExecuteTrack);
System\Activities\WorkflowApplication.cs (12)
61
Action
<WorkflowApplicationAbortedEventArgs> onAborted;
62
Action
<WorkflowApplicationEventArgs> onUnloaded;
63
Action
<WorkflowApplicationCompletedEventArgs> onCompleted;
66
Action
<WorkflowApplicationIdleEventArgs> onIdle;
171
public
Action
<WorkflowApplicationAbortedEventArgs> Aborted
184
public
Action
<WorkflowApplicationEventArgs> Unloaded
197
public
Action
<WorkflowApplicationCompletedEventArgs> Completed
223
public
Action
<WorkflowApplicationIdleEventArgs> Idle
979
Action
<WorkflowApplicationAbortedEventArgs> abortedHandler = this.Aborted;
2717
Action
<WorkflowApplicationIdleEventArgs> idleHandler = this.Idle;
2768
Action
<WorkflowApplicationEventArgs> handler = this.Unloaded;
5128
Action
<WorkflowApplicationCompletedEventArgs> handler = instance.Completed;
System\Activities\XamlIntegration\CompiledDataContext.cs (2)
83
public Location<T> GetLocation<T>(Func<T> getMethod,
Action
<T> setMethod, int expressionId, Activity compiledRootActivity, ActivityContext activityContext)
88
public Location<T> GetLocation<T>(Func<T> getMethod,
Action
<T> setMethod)
System\Activities\XamlIntegration\CompiledLocation.cs (3)
20
Action
<T> setMethod;
40
public CompiledLocation(Func<T> getMethod,
Action
<T> setMethod, IList<LocationReference> locationReferences, IList<Location> locations, int expressionId, Activity compiledRootActivity, ActivityContext currentActivityContext)
70
public CompiledLocation(Func<T> getMethod,
Action
<T> setMethod)
System\Activities\XamlIntegration\TextExpressionCompilerSettings.cs (1)
60
public
Action
<string> LogSourceGenerationMessage
System.Activities.Core.Presentation (14)
System\Activities\Core\Presentation\CaseDesigner.xaml.cs (1)
53
public
Action
<CaseKeyBox> FocusSelf
System\Activities\Core\Presentation\CaseKeyBox.xaml.cs (3)
46
DependencyProperty.Register("ErrorCallback", typeof(
Action
<CaseKeyBox>), typeof(CaseKeyBox));
92
public
Action
<CaseKeyBox> ErrorCallback
94
get { return (
Action
<CaseKeyBox>)GetValue(ErrorCallbackProperty); }
System\Activities\Core\Presentation\RegisterMetadataDelayedWorker.cs (10)
16
private Dictionary<string, List<
Action
<AttributeTableBuilder>>> delayedWorkItems;
19
public Dictionary<string, List<
Action
<AttributeTableBuilder>>> DelayedWorkItems
25
this.delayedWorkItems = new Dictionary<string, List<
Action
<AttributeTableBuilder>>>();
32
public void RegisterMetadataDelayed(string assemblyName,
Action
<AttributeTableBuilder> delayedWork)
42
List<
Action
<AttributeTableBuilder>> currentDelayedWorkItems;
45
currentDelayedWorkItems = new List<
Action
<AttributeTableBuilder>>();
75
List<
Action
<AttributeTableBuilder>> currentDelayedWorkItems;
90
private List<
Action
<AttributeTableBuilder>> currentDelayedWorkItems;
92
public DelayedRegisterMetadataWorkContext(List<
Action
<AttributeTableBuilder>> currentDelayedWorkItems)
100
foreach (
Action
<AttributeTableBuilder> delayedWork in this.currentDelayedWorkItems)
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\SqlWorkflowInstanceStore.cs (1)
40
Action
<object> scheduledUnlockInstance;
System.Activities.Presentation (14)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (1)
367
private static void UsingXamlWriter<T>(T xamlWriter,
Action
<T> work) where T : XamlWriter
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (3)
655
Action
<VirtualizedContainerService.VirtualizingContainer> onContainerPopulatingDelegate;
656
Action
<ModelItem> onElementFocusingDelegate;
657
Action
<Visibility> onSetDesignerContentVisibilityDelegate;
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemHelper.cs (1)
37
internal static void TryCreateImmediateEditingScopeAndExecute(EditingContext context, string editingScopeDescription,
Action
<EditingScope> modelEditingWork)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (1)
882
if (currentItem.ItemType.IsGenericType && currentItem.ItemType.GetGenericTypeDefinition() == typeof(
Action
<>))
System.Activities.Presentation\System\Activities\Presentation\Validation\BackgroundValidationSynchronizer.cs (2)
23
private
Action
<TValidationResult> updateWork;
33
internal BackgroundValidationSynchronizer(TaskDispatcher dispatcher, Func<ValidationReason, CancellationToken, TValidationResult> validationWork,
Action
<TValidationResult> updateWork)
System.Activities.Presentation\System\Activities\Presentation\Validation\ForegroundValidationSynchronizer.cs (2)
16
private
Action
<TValidationResult> updateWork;
18
internal ForegroundValidationSynchronizer(TaskDispatcher dispatcher, Func<ValidationReason, CancellationToken, TValidationResult> validationWork,
Action
<TValidationResult> updateWork)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
294
Action
<WorkflowCommandExtensionItem> updateCommands = (item) =>
554
Action
<Separator> action = (separator) =>
System.Activities.Presentation\System\Activities\Presentation\View\TypeKeyValue.cs (2)
23
Action
<TypeKeyValue> typeChangedCallBack;
32
public TypeKeyValue(Type genericType,
Action
<TypeKeyValue> typeChangedCallBack)
System.Core (10)
Microsoft\Scripting\Ast\DebugViewWriter.cs (1)
285
private void VisitExpressions<T>(char open, char separator, IList<T> expressions,
Action
<T> visit) {
Microsoft\Scripting\Compiler\DelegateHelpers.Generated.cs (1)
268
case 1: return typeof(
Action
<>).MakeGenericType(types);
Microsoft\Scripting\Compiler\ILGen.cs (1)
911
internal static void EmitArray(this ILGenerator il, Type elementType, int count,
Action
<int> emit) {
System\Linq\Parallel\QueryOperators\Unary\ForAllOperator.cs (4)
30
private readonly
Action
<TInput> m_elementAction;
36
internal ForAllOperator(IEnumerable<TInput> child,
Action
<TInput> elementAction)
130
private readonly
Action
<TInput> m_elementAction; // Forall operator being executed.
137
internal ForAllEnumerator(QueryOperatorEnumerator<TInput, TKey> source,
Action
<TInput> elementAction, CancellationToken cancellationToken)
System\Linq\Parallel\Scheduling\QueryTask.cs (2)
58
private static
Action
<object> s_runTaskSynchronouslyDelegate = RunTaskSynchronously;
77
private static
Action
<object> s_baseWorkDelegate = delegate(object o)
System\Linq\ParallelEnumerable.cs (1)
552
public static void ForAll<TSource>(this ParallelQuery<TSource> source,
Action
<TSource> action)
System.Data (20)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (1)
367
private static void UsingXamlWriter<T>(T xamlWriter,
Action
<T> work) where T : XamlWriter
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (3)
655
Action
<VirtualizedContainerService.VirtualizingContainer> onContainerPopulatingDelegate;
656
Action
<ModelItem> onElementFocusingDelegate;
657
Action
<Visibility> onSetDesignerContentVisibilityDelegate;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemHelper.cs (1)
37
internal static void TryCreateImmediateEditingScopeAndExecute(EditingContext context, string editingScopeDescription,
Action
<EditingScope> modelEditingWork)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (1)
882
if (currentItem.ItemType.IsGenericType && currentItem.ItemType.GetGenericTypeDefinition() == typeof(
Action
<>))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\BackgroundValidationSynchronizer.cs (2)
23
private
Action
<TValidationResult> updateWork;
33
internal BackgroundValidationSynchronizer(TaskDispatcher dispatcher, Func<ValidationReason, CancellationToken, TValidationResult> validationWork,
Action
<TValidationResult> updateWork)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ForegroundValidationSynchronizer.cs (2)
16
private
Action
<TValidationResult> updateWork;
18
internal ForegroundValidationSynchronizer(TaskDispatcher dispatcher, Func<ValidationReason, CancellationToken, TValidationResult> validationWork,
Action
<TValidationResult> updateWork)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
294
Action
<WorkflowCommandExtensionItem> updateCommands = (item) =>
554
Action
<Separator> action = (separator) =>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeKeyValue.cs (2)
23
Action
<TypeKeyValue> typeChangedCallBack;
32
public TypeKeyValue(Type genericType,
Action
<TypeKeyValue> typeChangedCallBack)
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1729
internal void OnError(SqlException exception, bool breakConnection,
Action
<Action> wrapCloseInAction) {
fx\src\data\System\Data\SqlClient\SqlInternalConnection.cs (1)
711
internal void OnError(SqlException exception, bool breakConnection,
Action
<Action> wrapCloseInAction = null) {
fx\src\data\System\Data\SqlClient\SqlUtil.cs (3)
32
internal static Task CreateContinuationTask(Task task, Action onSuccess, SqlInternalConnectionTds connectionToDoom = null,
Action
<Exception> onFailure = null) {
46
internal static Task CreateContinuationTask<T1, T2>(Task task, Action<T1, T2> onSuccess, T1 arg1, T2 arg2, SqlInternalConnectionTds connectionToDoom = null,
Action
<Exception> onFailure = null) {
54
Action
<Exception> onFailure = null,
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
1295
Action
<Action> wrapCloseAction = closeAction => {
System.Data.Entity (32)
System\Data\Common\EntitySql\SemanticResolver.cs (1)
1618
internal void ApplyToScopeEntries(
Action
<ScopeEntry> action)
System\Data\Mapping\StorageComplexTypeMapping.cs (1)
123
internal void AddConditionProperty(StorageConditionPropertyMapping conditionPropertyMap,
Action
<EdmMember> duplicateMemberConditionError)
System\Data\Mapping\StorageMappingFragment.cs (1)
198
internal void AddConditionProperty(StorageConditionPropertyMapping conditionPropertyMap,
Action
<EdmMember> duplicateMemberConditionError)
System\Data\Mapping\Update\Internal\FunctionMappingTranslator.cs (1)
146
Action<DbDataRecord,
Action
<IEntityStateEntry>> findMatch = (record, registerTarget) =>
System\Data\Mapping\Update\Internal\Propagator.JoinPropagator.cs (1)
317
Action
<Tuple<CompositeKey, PropagatorResult>> addStateEntries = (r) =>
System\Data\Mapping\ViewGeneration\Structures\CaseStatement.cs (1)
355
private static void WithRelationshipsClauseAsCql(
Action
<WithRelationship> emitWithRelationship, IEnumerable<WithRelationship> withRelationships, ProjectedSlot slot)
System\Data\Mapping\ViewGeneration\Structures\MemberPath.cs (2)
468
internal void AsCql(
Action
<string> accessMember, Action getKey,
Action
<StructuralType> treatAs)
System\Data\Mapping\ViewGeneration\Structures\NegatedConstant.cs (1)
173
private void AsCql(Action trueLiteral, Action varIsNotNull,
Action
<Constant> varNotEqualsTo, IEnumerable<Constant> constants, MemberPath outputMember, bool skipIsNotNull)
System\Data\Mapping\ViewGeneration\Structures\ScalarRestriction.cs (1)
261
Action
<Set<Constant>> varInDomain,
System\Data\Mapping\ViewGeneration\Structures\TypeConstant.cs (1)
179
private void AsCql(Action<EntitySet, IList<MemberPath>> createRef,
Action
<IList<MemberPath>> createType, MemberPath outputMember)
System\Data\Metadata\Edm\Provider\EdmProviderManifestFunctionBuilder.cs (3)
44
internal void ForAllTypes(
Action
<PrimitiveTypeKind> forEachType)
52
internal void ForAllBasePrimitiveTypes(
Action
<PrimitiveTypeKind> forEachType)
64
internal void ForTypes(IEnumerable<PrimitiveTypeKind> typeKinds,
Action
<PrimitiveTypeKind> forEachType)
System\Data\Metadata\MetadataWorkspace.cs (2)
360
public void LoadFromAssembly(Assembly assembly,
Action
<string> logLoadMessage)
367
private void ExplicitLoadFromAssembly(Assembly assembly, ObjectItemCollection collection,
Action
<string> logLoadMessage)
System\Data\Metadata\ObjectItemCollection.cs (3)
136
public void LoadFromAssembly(Assembly assembly, EdmItemCollection edmItemCollection,
Action
<String> logLoadMessage)
157
internal void ExplicitLoadFromAssembly(Assembly assembly, EdmItemCollection edmItemCollection,
Action
<String> logLoadMessage)
301
bool loadReferencedAssemblies, EdmItemCollection edmItemCollection,
Action
<String> logLoadMessage)
System\Data\Metadata\ObjectLayer\AssemblyCache.cs (1)
40
KnownAssembliesSet knownAssemblies, EdmItemCollection edmItemCollection,
Action
<String> logLoadMessage, ref object loaderCookie, out Dictionary<string, EdmType> typesInLoading, out List<EdmItemError> errors)
System\Data\Metadata\ObjectLayer\LoadMessageLogger.cs (2)
19
private
Action
<String> _logLoadMessage;
22
internal LoadMessageLogger(
Action
<String> logLoadMessage)
System\Data\Metadata\ObjectLayer\ObjectItemLoadingSessionData.cs (1)
130
internal ObjectItemLoadingSessionData(KnownAssembliesSet knownAssemblies, LockedAssemblyCache lockedAssemblyCache, EdmItemCollection edmItemCollection,
Action
<String> logLoadMessage, object loaderCookie)
System\Data\Objects\Internal\EntityProxyFactory.cs (4)
500
var
resetFKSetterFlagDelegate = GetResetFKSetterFlagDelegate(proxyTypeInfo.EntityWrapperDelegate);
509
private static
Action
<object> GetResetFKSetterFlagDelegate(Func<object, object> getEntityWrapperDelegate)
1061
static readonly MethodInfo s_Action_Invoke = typeof(
Action
<object>).GetMethod("Invoke", new Type[] { typeof(object) });
1141
_resetFKSetterFlagField = typeBuilder.DefineField(EntityProxyFactory.ResetFKSetterFlagFieldName, typeof(
Action
<object>), FieldAttributes.Private| FieldAttributes.Static);
System\Data\SqlClient\SqlGen\SqlFunctionCallHandler.cs (1)
639
private static ISqlFragment WrapWithCast(string returnType,
Action
<SqlBuilder> toWrap)
System\Data\SqlClient\SqlProviderServices.cs (2)
1058
private static void UsingConnection(SqlConnection sqlConnection,
Action
<SqlConnection> act)
1085
private static void UsingMasterConnection(SqlConnection sqlConnection,
Action
<SqlConnection> act)
System\Data\SqlClient\SqlProviderUtilities.cs (2)
285
private void AppendIdentifier(EntitySet table,
Action
<string> AppendIdentifierEscape)
326
private void AppendJoin<T>(IEnumerable<T> elements,
Action
<T> appendElement, string unencodedSeparator)
System.Data.Linq (4)
Types.cs (4)
155
Action
<TEntity> onAdd;
156
Action
<TEntity> onRemove;
168
public EntitySet(
Action
<TEntity> onAdd,
Action
<TEntity> onRemove) {
System.Data.Services (23)
System\Data\Services\DataService.cs (14)
80
private
Action
<IQueryable> requestQueryableConstructed;
370
Action
<Stream> writer = this.HandleRequest();
410
Action
<Stream> writer = this.HandleRequest();
542
private static Message CreateMessage(MessageVersion version, string action, string contentType,
Action
<Stream> writer, IDataService service)
830
private static
Action
<Stream> SerializeResponseBody(RequestDescription description, IDataService dataService)
838
Action
<Stream> result = HandleInternalResources(description, dataService);
1267
private static
Action
<Stream> HandleInternalResources(RequestDescription description, IDataService dataService)
1319
private static
Action
<Stream> CompareETagAndWriteResponse(
1496
private static
Action
<Stream> WriteSingleElementResponse(
1684
private
Action
<Stream> HandleRequest()
1692
Action
<Stream> writer = null;
1770
private
Action
<Stream> HandleNonBatchRequest(RequestDescription description)
1813
private
Action
<Stream> HandleBatchRequest()
2775
Action
<Stream> responseWriter = DataService<T>.SerializeResponseBody(description, this);
System\Data\Services\DelegateBodyWriter.cs (2)
33
private readonly
Action
<Stream> writerAction;
40
internal DelegateBodyWriter(
Action
<Stream> writer, IDataService service)
System\Data\Services\ErrorHandler.cs (6)
83
Action
<Stream> errorWriter = ProcessBenignException(exception, service);
115
Action
<Stream> errorWriter = CreateErrorSerializer(args, encoding);
126
internal static
Action
<Stream> HandleBeforeWritingException(Exception exception, IDataService service, string accept, string acceptCharset)
142
Action
<Stream> action = ProcessBenignException(exception, service);
226
private static
Action
<Stream> ProcessBenignException(Exception exception, IDataService service)
249
private static
Action
<Stream> CreateErrorSerializer(HandleExceptionArgs args, Encoding encoding)
System\Data\Services\WebUtil.cs (1)
1474
internal static
Action
<Stream> GetEmptyStreamWriter()
System.Data.Services.Client (4)
System\Data\Services\Client\Binding\BindingGraph.cs (2)
700
public void Reset(
Action
<object> action)
712
public void RemoveUnreachableVertices(
Action
<object> detachAction)
System\Data\Services\Client\Binding\BindingObserver.cs (1)
857
private void DeepRemoveCollection(IEnumerable collection, object source, string sourceProperty,
Action
<object> itemValidator)
System\Data\Services\Client\Epm\EpmSyndicationContentSerializer.cs (1)
83
Action
<String> contentWriter;
System.Runtime.DurableInstancing (6)
System\Runtime\DurableInstancing\InstanceHandle.cs (1)
1026
static readonly
Action
<object> timeoutCallback = new Action<object>(OnTimeout);
System\Runtime\DurableInstancing\InstancePersistenceContext.cs (5)
117
public void SetCancellationHandler(
Action
<InstancePersistenceContext> cancellationHandler)
784
Action
<InstancePersistenceContext> onCancel = lastAsyncResult == null ? null : lastAsyncResult.CancellationHandler;
951
Action
<InstancePersistenceContext> cancellationHandler;
1108
internal
Action
<InstancePersistenceContext> CancellationHandler
1112
Action
<InstancePersistenceContext> handler = this.cancellationHandler;
System.ServiceModel (95)
System\ServiceModel\Channels\ChannelDemuxer.cs (4)
196
static
Action
<object> startReceivingStatic = new Action<object>(StartReceivingStatic);
1635
static
Action
<object> startAcceptStatic = new Action<object>(StartAcceptStatic);
1636
Action
<object> onStartAccepting;
1667
Action
<object> OnStartAccepting
System\ServiceModel\Channels\ConnectionAcceptor.cs (1)
27
Action
<object> scheduleAcceptCallback;
System\ServiceModel\Channels\ConnectionDemuxer.cs (3)
34
Action
<object> reuseConnectionCallback;
39
Action
<Uri> viaDelegate;
467
public void StartDemuxing(
Action
<Uri> viaDelegate)
System\ServiceModel\Channels\ConnectionOrientedTransportChannelFactory.cs (1)
385
static
Action
<object> onReleaseConnectionPoolScheduled;
System\ServiceModel\Channels\DatagramAdapter.cs (3)
53
static
Action
<object> channelPumpDelegate = new Action<object>(ChannelPump);
361
static
Action
<object> startNextReceiveDelegate = new Action<object>(StartNextReceive);
656
static
Action
<object> timerCallback = new Action<object>(AsyncWaiter.TimerCallback);
System\ServiceModel\Channels\DeliveryStrategy.cs (2)
76
Action
<object> onDispatchCallback;
98
Action
<object> OnDispatchCallback
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
1388
static
Action
<object> onSendTimeout;
System\ServiceModel\Channels\HttpChannelHelpers.cs (3)
1080
static
Action
<object> onStreamSendTimeout;
2021
static
Action
<object> onWriteStreamedMessageLater;
3255
internal static void HandleContinueWithTask(Task task,
Action
<Exception> exceptionHandler)
System\ServiceModel\Channels\HttpPipeline.cs (2)
213
static
Action
<object> onRequestInitializationTimeout = Fx.ThunkCallback<object>(OnRequestInitializationTimeout);
389
static
Action
<object> onCreateMessageAndEnqueue = Fx.ThunkCallback<object>(OnCreateMessageAndEnqueue);
System\ServiceModel\Channels\HttpPipelineCancellationTokenSource.cs (1)
13
static
Action
<object> onCancelled = Fx.ThunkCallback<object>(OnCancelled);
System\ServiceModel\Channels\IdlingCommunicationPool.cs (1)
107
static
Action
<object> onIdle;
System\ServiceModel\Channels\Msmq4PoisonHandler.cs (1)
29
static
Action
<object> onStartPeek = new Action<object>(StartPeek);
System\ServiceModel\Channels\MsmqInputSessionChannel.cs (3)
374
static
Action
<object> onComplete;
375
static
Action
<object> onAbandon;
377
SessionReceiveContextAsyncResult(MsmqSessionReceiveContext receiveContext, TimeSpan timeout, AsyncCallback callback, object state,
Action
<object> target)
System\ServiceModel\Channels\MsmqReceiveContext.cs (3)
123
static
Action
<object> onComplete;
124
static
Action
<object> onAbandon;
127
ReceiveContextAsyncResult(MsmqReceiveContext receiver, TimeSpan timeout, AsyncCallback callback, object state,
Action
<object> target)
System\ServiceModel\Channels\MsmqReceiveHelper.cs (1)
331
static
Action
<object> onComplete = new Action<object>(OnComplete);
System\ServiceModel\Channels\OneWayChannelListener.cs (4)
653
Action
<object> handleAcceptCallback;
1237
static
Action
<object> startReceivingCallback;
1238
Action
<object> onStartReceiveLater;
1239
Action
<object> onDispatchItemsLater;
System\ServiceModel\Channels\PipeConnection.cs (4)
77
static
Action
<object> onReadTimeout;
82
static
Action
<object> onWriteTimeout;
1891
static
Action
<object> waitCompleteCallback;
2201
static
Action
<object> onStartAccept;
System\ServiceModel\Channels\ReliableChannelBinder.cs (2)
1174
static
Action
<object> asyncGetChannelCallback = new Action<object>(AsyncGetChannelCallback);
2194
static
Action
<object> onTimeoutElapsed = new Action<object>(OnTimeoutElapsed);
System\ServiceModel\Channels\ReliableChannelListener.cs (2)
937
Action
<object> asyncHandleReceiveComplete;
1368
Action
<object> asyncHandleReceiveComplete;
System\ServiceModel\Channels\ReliableDuplexSessionChannel.cs (2)
33
static
Action
<object> asyncReceiveComplete = new Action<object>(AsyncReceiveCompleteStatic);
1465
static
Action
<object> onReconnectTimerElapsed = new Action<object>(OnReconnectTimerElapsed);
System\ServiceModel\Channels\ReliableInputSessionChannel.cs (1)
22
static
Action
<object> asyncReceiveComplete = new Action<object>(AsyncReceiveCompleteStatic);
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (2)
293
static
Action
<object> onTimerElapsed = new Action<object>(OnTimerElapsed);
694
Action
<object> sendFaultCallback;
System\ServiceModel\Channels\ReliableOutputConnection.cs (1)
33
static
Action
<object> sendRetries = new Action<object>(SendRetries);
System\ServiceModel\Channels\ReliableReplySessionChannel.cs (1)
23
static
Action
<object> asyncReceiveComplete = new Action<object>(AsyncReceiveCompleteStatic);
System\ServiceModel\Channels\ServiceChannel.cs (4)
2236
static
Action
<object> signalWaiter = new Action<object>(CallOnceManager.SignalWaiter);
2502
static
Action
<object> timerCallback = new Action<object>(AsyncWaiter.TimerCallback);
2577
static
Action
<object> timerCallback;
2637
static
Action
<object> GetTimerCallback()
System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
254
Action
<IAsyncResult> endCallDelegate = (asyncResult) =>
System\ServiceModel\Channels\SessionConnectionReader.cs (2)
42
Action
<Uri> viaDelegate;
325
public void StartReading(
Action
<Uri> viaDelegate, TimeSpan receiveTimeout)
System\ServiceModel\Channels\SharedConnectionListener.cs (1)
35
Action
<object> reconnectCallback;
System\ServiceModel\Channels\SharedHttpTransportManager.cs (1)
27
Action
<object> onCompleteGetContextLater;
System\ServiceModel\Channels\SharedTcpTransportManager.cs (2)
79
protected virtual
Action
<Uri> GetOnViaCallback()
87
Action
<Uri> onVia = GetOnViaCallback();
System\ServiceModel\Channels\SingletonChannelAcceptor.cs (1)
18
static
Action
<object> onInvokeDequeuedCallback;
System\ServiceModel\Channels\SingletonConnectionReader.cs (4)
47
Action
<Uri> viaDelegate;
942
public void StartReading(
Action
<Uri> viaDelegate, TimeSpan timeout)
1266
static
Action
<object> onReceiveScheduled = new Action<object>(OnReceiveScheduled);
1719
static
Action
<object> onWriteStartBytesScheduled;
System\ServiceModel\Channels\SocketConnection.cs (4)
68
static
Action
<object> onReceiveTimeout;
70
static
Action
<object> onSendTimeout;
1791
static
Action
<object> startConnectCallback;
2164
static
Action
<object> startAccept;
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (1)
698
static
Action
<object> onCompleteCloseScheduled;
System\ServiceModel\Channels\TransportManager.cs (1)
320
static
Action
<object> scheduledCallback = new Action<object>(OnScheduled);
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (1)
488
static readonly
Action
<object> onAsyncReceiveCancelled = Fx.ThunkCallback<object>(OnAsyncReceiveCancelled);
System\ServiceModel\Description\ConfigLoader.cs (2)
381
public void LoadHostConfig(ServiceElement serviceElement, ServiceHostBase host, System.
Action
<Uri> addBaseAddress)
437
public void LoadServiceDescription(ServiceHostBase host, ServiceDescription description, ServiceElement serviceElement, System.
Action
<Uri> addBaseAddress, bool skipHost = false)
System\ServiceModel\Dispatcher\BufferedReceiveBinder.cs (1)
15
static
Action
<object> tryReceive = new Action<object>(BufferedReceiveBinder.TryReceive);
System\ServiceModel\Dispatcher\ChannelHandler.cs (5)
42
static
Action
<object> onContinueAsyncReceive = new Action<object>(ChannelHandler.OnContinueAsyncReceive);
43
static
Action
<object> onStartSyncMessagePump = new Action<object>(ChannelHandler.OnStartSyncMessagePump);
44
static
Action
<object> onStartAsyncMessagePump = new Action<object>(ChannelHandler.OnStartAsyncMessagePump);
45
static
Action
<object> onStartSingleTransactedBatch = new Action<object>(ChannelHandler.OnStartSingleTransactedBatch);
46
static
Action
<object> openAndEnsurePump = new Action<object>(ChannelHandler.OpenAndEnsurePump);
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (2)
864
static
Action
<object> timerCallback = new Action<object>(AsyncDuplexRequest.TimerCallback);
1101
static
Action
<object> receiveThreadSchedulerCallback;
System\ServiceModel\Dispatcher\FlowThrottle.cs (2)
28
Action
<int> ratio;
169
internal void SetRatio(
Action
<int> action)
System\ServiceModel\Dispatcher\ListenerHandler.cs (1)
20
static
Action
<object> initiateChannelPump = new Action<object>(ListenerHandler.InitiateChannelPump);
System\ServiceModel\Dispatcher\ThreadBehavior.cs (2)
17
static
Action
<object> cleanThreadCallback;
48
static
Action
<object> CleanThreadCallbackDelegate
System\ServiceModel\Security\SecuritySessionClientSettings.cs (2)
2477
static readonly
Action
<object> renewKeyCallback = new Action<object>(RenewKeyCallback);
3153
Action
<object> completeLater;
System\ServiceModel\Security\SecurityUtils.cs (1)
2435
static readonly
Action
<object> scheduledCallback = new Action<object>(OnScheduled);
System\ServiceModel\Security\TimeBoundedCache.cs (2)
18
static
Action
<object> purgeCallback;
50
static
Action
<object> PurgeCallback
System\ServiceModel\ServiceHost.cs (3)
1876
Action
<ServiceConfiguration> call = Delegate.CreateDelegate(typeof(
Action
<ServiceConfiguration>), configureMethod) as
Action
<ServiceConfiguration>;
System.ServiceModel.Activation (8)
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (5)
35
static
Action
<object> waitOnBeginRequest;
37
static
Action
<object> waitOnBeginRequestWithFlow;
175
Action
<object> iotsCallback = (AspNetPartialTrustHelpers.NeedPartialTrustInvoke || flowContext) ?
208
public static
Action
<object> WaitOnBeginRequest
222
public static
Action
<object> WaitOnBeginRequestWithFlow
System\ServiceModel\Activation\HostedNamedPipeTransportManager.cs (1)
17
Action
<Uri> onViaCallback;
System\ServiceModel\Activation\HostedTcpTransportManager.cs (2)
15
Action
<Uri> onViaCallback;
51
protected override
Action
<Uri> GetOnViaCallback()
System.ServiceModel.Activities (16)
System\ServiceModel\Activities\Dispatcher\DurableInstanceManager.cs (1)
1333
static
Action
<object> waitAndHandleStoreEvents = new Action<object>(WaitAndHandleStoreEvents);
System\ServiceModel\Activities\Dispatcher\PersistenceContextEnlistment.cs (8)
26
static
Action
<object> prepareCallback;
27
static
Action
<object> commitCallback;
28
static
Action
<object> rollbackCallback;
29
static
Action
<object> indoubtCallback;
52
internal static
Action
<object> PrepareCallback
64
internal static
Action
<object> CommitCallback
76
internal static
Action
<object> RollbackCallback
88
internal static
Action
<object> IndoubtCallback
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (1)
713
static
Action
<object> handleLoadRetry = new Action<object>(HandleLoadRetry);
System\ServiceModel\Activities\Dispatcher\TransactionWaitAsyncResult.cs (2)
13
static
Action
<object> timerCallback;
97
internal static
Action
<object> TimeoutCallbackAction
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (1)
5639
static
Action
<object> onTimerCallback = new Action<object>(OnTimerCallback);
System\ServiceModel\Activities\InternalSendMessage.cs (3)
2122
Action
<Message> onWorkflowCorrelationProcessingComplete;
2143
public void NotifyRequestSetByChannel(
Action
<Message> onWorkflowCorrelationProcessingComplete)
2760
Action
<Pool<IChannel>> disposeChannelPool;
System.ServiceModel.Channels (3)
System\ServiceModel\Channels\UdpOutputChannel.cs (1)
636
private static
Action
<object> onRetransmitMessage = new Action<object>(OnRetransmitMessage);
System\ServiceModel\Channels\UdpSocketReceiveManager.cs (2)
17
Action
<object> continueReceivingCallback;
20
Action
<object> onStartReceiving;
System.ServiceModel.Discovery (7)
System\ServiceModel\Discovery\AsyncOperationContext.cs (1)
124
public void StartTimer(
Action
<object> waitCallback)
System\ServiceModel\Discovery\DiscoveryClient.cs (4)
32
Action
<object> findOperationTimeoutCallbackDelegate;
33
Action
<object> resolveOperationTimeoutCallbackDelegate;
36
Action
<object> cancelTaskCallbackDelegate;
1131
void StartTimer(AsyncOperationContext context,
Action
<object> operationTimeoutCallbackDelegate)
System\ServiceModel\Discovery\RandomDelayQueuedSendsAsyncResult.cs (1)
177
static
Action
<object> onDelayCompletedCallback = new Action<object>(OnDelayCompleted);
System\ServiceModel\Discovery\RandomDelaySendsAsyncResult.cs (1)
18
Action
<object> onTimerCallback;
System.ServiceModel.Internals (50)
System\Runtime\ActionItem.cs (10)
37
public static void Schedule(
Action
<object> callback, object state)
44
public static void Schedule(
Action
<object> callback, object state, bool lowPriority)
128
static void ScheduleCallback(
Action
<object> callback, object state, bool lowPriority)
154
void ScheduleCallback(
Action
<object> callback)
163
static
Action
<object> invokeWithContextCallback;
165
static
Action
<object> invokeWithoutContextCallback;
170
public static
Action
<object> InvokeWithContextCallback
184
public static
Action
<object> InvokeWithoutContextCallback
233
Action
<object> callback;
246
public DefaultActionItem(
Action
<object> callback, object state, bool isLowPriority)
System\Runtime\AsyncWaitHandle.cs (2)
14
static
Action
<object> timerCompleteCallback;
259
public void SetTimer(
Action
<object> callback, object state, TimeSpan timeout)
System\Runtime\BackoffTimeoutHelper.cs (2)
21
Action
<object> backoffCallback;
77
public void WaitAndBackoff(
Action
<object> callback, object state)
System\Runtime\Collections\ObjectCache.cs (5)
29
static
Action
<object> onIdle;
59
public
Action
<TValue> DisposeItemCallback
326
readonly
Action
<TValue> disposeItemCallback;
331
public Item(TKey key, TValue value,
Action
<TValue> disposeItemCallback)
479
Action
<TValue> localDisposeItemCallback = this.disposeItemCallback;
System\Runtime\Collections\ValidatingCollection.cs (1)
17
public
Action
<T> OnAddValidationCallback { get; set; }
System\Runtime\Fx.cs (5)
363
public static
Action
<T1> ThunkCallback<T1>(
Action
<T1> callback)
1050
sealed class ActionThunk<T1> : Thunk<
Action
<T1>>
1052
public ActionThunk(
Action
<T1> callback) : base(callback)
1056
public
Action
<T1> ThunkFrame
System\Runtime\InputQueue.cs (9)
14
static
Action
<object> completeOutstandingReadersCallback;
15
static
Action
<object> completeWaitersFalseCallback;
16
static
Action
<object> completeWaitersTrueCallback;
17
static
Action
<object> onDispatchCallback;
18
static
Action
<object> onInvokeDequeuedCallback;
58
public
Action
<T> DisposeItemCallback
485
Action
<T> disposeItemCallback = this.DisposeItemCallback;
798
static
Action
<object> timerCallback = new Action<object>(AsyncQueueReader.TimerCallback);
861
static
Action
<object> timerCallback = new Action<object>(AsyncQueueWaiter.TimerCallback);
System\Runtime\IOThreadCancellationTokenSource.cs (1)
12
static readonly
Action
<object> onCancel = Fx.ThunkCallback<object>(OnCancel);
System\Runtime\IOThreadScheduler.cs (10)
108
public static void ScheduleCallbackNoFlow(
Action
<object> callback, object state)
128
public static void ScheduleCallbackLowPriNoFlow(
Action
<object> callback, object state)
149
bool ScheduleCallbackHelper(
Action
<object> callback, object state)
195
bool ScheduleCallbackLowPriHelper(
Action
<object> callback, object state)
252
void CompletionCallback(out
Action
<object> callback, out object state)
325
bool TryCoalesce(out
Action
<object> callback, out object state)
475
Action
<object> callback;
479
public bool TryEnqueueWorkItem(
Action
<object> callback, object state, out bool wrapped)
528
public void DequeueWorkItem(out
Action
<object> callback, out object state)
615
Action
<object> callback;
System\Runtime\IOThreadTimer.cs (4)
39
Action
<object> callback;
47
public IOThreadTimer(
Action
<object> callback, object callbackState, bool isTypicallyCanceledShortlyAfterBeingSet)
52
public IOThreadTimer(
Action
<object> callback, object callbackState, bool isTypicallyCanceledShortlyAfterBeingSet, int maxSkewInMilliseconds)
121
Action
<object> onWaitCallback;
System\Runtime\ScheduleActionItemAsyncResult.cs (1)
13
static
Action
<object> doWork = new Action<object>(DoWork);
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\ClientFactory.cs (1)
178
static
Action
<object> signalWaiter;
System.ServiceModel.Web (6)
System\ServiceModel\Channels\StreamBodyWriter.cs (3)
38
internal static StreamBodyWriter CreateStreamBodyWriter(
Action
<Stream> streamAction)
192
Action
<Stream> actionOfStream;
194
public ActionOfStreamBodyWriter(
Action
<Stream> actionOfStream)
System\ServiceModel\Web\WebOperationContext.cs (3)
253
public Message CreateTextResponse(
Action
<TextWriter> textWriter, string contentType)
263
public Message CreateTextResponse(
Action
<TextWriter> textWriter, string contentType, Encoding encoding)
323
public Message CreateStreamResponse(
Action
<Stream> streamWriter, string contentType)
System.Web (35)
Abstractions\HttpContextBase.cs (1)
29
public virtual ISubscriptionToken AddOnRequestCompleted(
Action
<HttpContextBase> callback) {
Abstractions\HttpContextWrapper.cs (3)
35
public override ISubscriptionToken AddOnRequestCompleted(
Action
<HttpContextBase> callback) {
318
internal static
Action
<HttpContext> WrapCallback(
Action
<HttpContextBase> callback) {
Abstractions\HttpResponseBase.cs (1)
297
public virtual ISubscriptionToken AddOnSendingHeaders(
Action
<HttpContextBase> callback) {
Abstractions\HttpResponseWrapper.cs (1)
284
public override ISubscriptionToken AddOnSendingHeaders(
Action
<HttpContextBase> callback) {
Hosting\BackgroundWorkScheduler.cs (2)
17
private readonly
Action
<BackgroundWorkScheduler> _unregisterCallback;
21
internal BackgroundWorkScheduler(
Action
<BackgroundWorkScheduler> unregisterCallback, Action<AppDomain, Exception> logCallback, Action workItemCompleteCallback = null) {
Hosting\HostingEnvironment.cs (1)
1161
public static void QueueBackgroundWorkItem(
Action
<CancellationToken> workItem) {
Hosting\IPipelineRuntime.cs (1)
577
Action
<RequestNotificationStatus> verifierCheck = null;
HttpApplication.cs (2)
4448
private
Action
<Action> _action;
4453
public StepInvoker(
Action
<Action> action, StepInvoker step) {
HttpContext.cs (2)
127
private SubscriptionQueue<
Action
<HttpContext>> _requestCompletedQueue;
609
public ISubscriptionToken AddOnRequestCompleted(
Action
<HttpContext> callback) {
HttpResponse.cs (3)
122
private SubscriptionQueue<
Action
<HttpContext>> _onSendingHeadersSubscriptionQueue = new SubscriptionQueue<
Action
<HttpContext>>();
2250
public ISubscriptionToken AddOnSendingHeaders(
Action
<HttpContext> callback) {
LegacyAspNetSynchronizationContext.cs (1)
22
private
Action
<bool> _appVerifierCallback;
Util\AppVerifier.cs (11)
70
private static
Action
<AppVerifierException> DefaultAppVerifierBehavior = GetAppVerifierBehaviorFromRegistry();
83
private static
Action
<AppVerifierException> GetAppVerifierBehaviorFromRegistry() {
184
internal static Func<AsyncCallback, object, IAsyncResult> WrapBeginMethodImpl(HttpApplication httpApplication, Func<AsyncCallback, object, IAsyncResult> beginMethod, Delegate originalDelegate,
Action
<AppVerifierException> errorHandler, CallStackCollectionBitMasks callStackMask) {
455
public static
Action
<bool> GetSyncContextCheckDelegate(ISyncContext syncContext) {
471
internal static
Action
<bool> GetSyncContextCheckDelegateImpl(ISyncContext syncContext,
Action
<AppVerifierException> errorHandler) {
523
internal static void InvokeVerifierCheck<T>(
Action
<T> verifierCheckDelegate, T result)
538
internal static
Action
<RequestNotificationStatus> GetRequestNotificationStatusCheckDelegate(HttpContext context, RequestNotification currentNotification, bool isPostNotification) {
550
internal static
Action
<RequestNotificationStatus> GetRequestNotificationStatusCheckDelegateImpl(HttpContext context, RequestNotification currentNotification, bool isPostNotification,
Action
<AppVerifierException> errorHandler) {
594
private static AssertDelegate GetAssertDelegateImpl(string requestUrl,
Action
<AppVerifierException> errorHandler, AppendAdditionalInfoDelegate appendAdditionalInfoDelegate) {
Util\ReflectionUtil.cs (4)
24
internal readonly static
Action
<T> ResetFn = CreateResetFn();
26
private static
Action
<T> CreateResetFn() {
53
return (
Action
<T>)dynamicMethod.CreateDelegate(typeof(
Action
<T>));
Util\SubscriptionQueue.cs (1)
38
public void FireAndComplete(
Action
<T> action) {
Util\SynchronizationHelper.cs (1)
26
private readonly
Action
<bool> _appVerifierCallback; // for making sure that developers don't try calling us after the request has completed
System.Web.DataVisualization (1)
WebForm\General\ChartHttpHandler.cs (1)
1883
public void ForEach(bool onlyExpired,
Action
<RingItem> action)
System.Web.Services (12)
System\Web\Services\Description\ProtocolReflector.cs (1)
72
internal List<
Action
<Uri>> UriFixups { get { return this.reflector.UriFixups; } }
System\Web\Services\Description\ServiceDescriptionReflector.cs (3)
43
List<
Action
<Uri>> uriFixups;
45
internal List<
Action
<Uri>> UriFixups { get { return this.uriFixups; } }
137
internal ServiceDescriptionReflector(List<
Action
<Uri>> uriFixups)
System\Web\Services\Protocols\DiscoveryServerProtocol.cs (4)
31
public List<
Action
<Uri>> UriFixups { get; private set; }
33
void AddUriFixup(
Action
<Uri> fixup)
47
this.UriFixups = new List<
Action
<Uri>>();
356
foreach (
Action
<Uri> fixup in this.serverType.UriFixups)
System\Web\Services\Protocols\DocumentationServerProtocol.cs (4)
31
public List<
Action
<Uri>> UriFixups { get; private set; }
33
void AddUriFixup(
Action
<Uri> fixup)
47
this.UriFixups = new List<
Action
<Uri>>();
216
foreach (
Action
<Uri> fixup in this.serverType.UriFixups)
System.WorkflowServices (2)
System\ServiceModel\Dispatcher\WorkflowInstanceLifeTimeManagerExtension.cs (1)
19
readonly
Action
<object> cachedInstanceExpirationTimerCallback;
System\ServiceModel\Dispatcher\WorkflowOperationAsyncResult.cs (1)
20
static
Action
<object> waitCallback = new Action<object>(WorkflowOperationAsyncResult.DoWork);
WindowsBase (2)
Shared\MS\Internal\ReaderWriterLockSlimWrapper.cs (2)
101
internal bool WithReadLock<T>(
Action
<T> criticalAction, T arg)
175
internal bool WithWriteLock<T>(
Action
<T> criticalAction, T arg)