429 references to Action
mscorlib (87)
system\runtime\compilerservices\AsyncMethodBuilder.cs (19)
116
var
continuation = m_coreState.GetCompletionAction(AsyncCausalityTracer.LoggingOn ? this.Task : null, ref runnerToInitialize);
162
var
continuation = m_coreState.GetCompletionAction(AsyncCausalityTracer.LoggingOn ? this.Task : null, ref runnerToInitialize);
503
var
continuation = m_coreState.GetCompletionAction(AsyncCausalityTracer.LoggingOn ? this.Task : null, ref runnerToInitialize);
543
var
continuation = m_coreState.GetCompletionAction(AsyncCausalityTracer.LoggingOn ? this.Task : null, ref runnerToInitialize);
844
internal
Action
m_defaultContextAction;
902
internal
Action
GetCompletionAction(Task taskForTracing, ref MoveNextRunner runnerToInitialize)
919
Action
action;
968
private
Action
OutputAsyncCausalityEvents(Task innerTask,
Action
continuation)
1103
internal readonly
Action
m_continuation; // This is continuation which will happen after m_invokeAction (and is probably a ContinuationWrapper)
1104
private readonly
Action
m_invokeAction; // This wrapper is an action that wraps another action, this is that Action.
1107
internal ContinuationWrapper(
Action
continuation,
Action
invokeAction, Task innerTask)
1126
internal static
Action
CreateContinuationWrapper(
Action
continuation,
Action
invokeAction, Task innerTask = null)
1131
internal static
Action
TryGetStateMachineForDebugger(
Action
action)
1152
internal static Task TryGetContinuationTask(
Action
action)
system\runtime\compilerservices\INotifyCompletion.cs (2)
28
void OnCompleted(
Action
continuation);
41
void UnsafeOnCompleted(
Action
continuation);
system\runtime\compilerservices\TaskAwaiter.cs (11)
91
public void OnCompleted(
Action
continuation)
102
public void UnsafeOnCompleted(
Action
continuation)
209
internal static void OnCompletedInternal(Task task,
Action
continuation, bool continueOnCapturedContext, bool flowExecutionContext)
231
private static
Action
OutputWaitEtwEvents(Task task,
Action
continuation)
328
public void OnCompleted(
Action
continuation)
339
public void UnsafeOnCompleted(
Action
continuation)
418
public void OnCompleted(
Action
continuation)
429
public void UnsafeOnCompleted(
Action
continuation)
506
public void OnCompleted(
Action
continuation)
517
public void UnsafeOnCompleted(
Action
continuation)
system\runtime\compilerservices\YieldAwaitable.cs (6)
65
public void OnCompleted(
Action
continuation)
74
public void UnsafeOnCompleted(
Action
continuation)
84
private static void QueueContinuation(
Action
continuation, bool flowContext)
128
private static
Action
OutputCorrelationEtwEvent(
Action
continuation)
165
private static void RunAction(object state) { ((
Action
)state)(); }
system\security\cryptography\cryptostream.cs (1)
338
public void OnCompleted(
Action
continuation) { Task.Run(continuation); }
system\security\principal\windowsidentity.cs (1)
614
public static void RunImpersonated(SafeAccessTokenHandle safeAccessTokenHandle,
Action
action)
system\threading\CancellationToken.cs (4)
171
Action
action = obj as
Action
;
194
public CancellationTokenRegistration Register(
Action
callback)
229
public CancellationTokenRegistration Register(
Action
callback, bool useSynchronizationContext)
system\threading\Tasks\BeginEndAwaitableAdapter.cs (5)
57
private readonly static
Action
CALLBACK_RAN = () => { };
63
private
Action
_continuation;
86
Action
continuation = Interlocked.Exchange(ref adapter._continuation, CALLBACK_RAN);
117
public void UnsafeOnCompleted(
Action
continuation) {
126
public void OnCompleted(
Action
continuation) {
system\threading\Tasks\Parallel.cs (5)
182
public static void Invoke(params
Action
[] actions)
215
public static void Invoke(ParallelOptions parallelOptions, params
Action
[] actions)
238
Action
[] actionsCopy = new
Action
[actions.Length];
3284
Action
partitionAction = delegate
system\threading\Tasks\Task.cs (16)
376
public Task(
Action
action)
394
public Task(
Action
action, CancellationToken cancellationToken)
417
public Task(
Action
action, TaskCreationOptions creationOptions)
444
public Task(
Action
action, CancellationToken cancellationToken, TaskCreationOptions creationOptions)
2871
var
action = m_action as
Action
;
2964
Action
continuationAction, bool continueOnCapturedContext, bool flowExecutionContext, ref StackCrawlMark stackMark)
3613
Action
singleAction = continuationObject as
Action
;
3689
Action
ad = currentContinuation as
Action
;
5614
public static Task Run(
Action
action)
5634
public static Task Run(
Action
action, CancellationToken cancellationToken)
6611
Action
singleAction = continuationObject as
Action
;
6736
ParallelOptions parallelOptions,
Action
action, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions)
system\threading\Tasks\TaskContinuation.cs (12)
388
private readonly static SendOrPostCallback s_postCallback = state => ((
Action
)state)(); // can't use InvokeAction as it's SecurityCritical
402
SynchronizationContext context,
Action
action, bool flowExecutionContext, ref StackCrawlMark stackMark) :
453
private static
Action
GetActionLogDelegate(int continuationId,
Action
action)
493
TaskScheduler scheduler,
Action
action, bool flowExecutionContext, ref StackCrawlMark stackMark) :
524
try { ((
Action
)state)(); }
548
protected readonly
Action
m_action;
557
internal AwaitTaskContinuation(
Action
action, bool flowExecutionContext, ref StackCrawlMark stackMark)
573
internal AwaitTaskContinuation(
Action
action, bool flowExecutionContext)
730
private static void InvokeAction(object state) { ((
Action
)state)(); }
794
internal static void RunOrScheduleAction(
Action
action, bool allowInlining, ref Task currentTask)
825
internal static void UnsafeScheduleAction(
Action
action, Task task)
system\threading\Tasks\TaskFactory.cs (5)
300
public Task StartNew(
Action
action)
327
public Task StartNew(
Action
action, CancellationToken cancellationToken)
357
public Task StartNew(
Action
action, TaskCreationOptions creationOptions)
398
public Task StartNew(
Action
action, CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskScheduler scheduler)
408
internal Task StartNew(
Action
action, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler)
PresentationCore (2)
Core\CSharp\System\Windows\Input\InputManager.cs (2)
978
_synchronizedInputAsyncClearOperation = Dispatcher.BeginInvoke((
Action
)delegate
1022
_synchronizedInputAsyncClearOperation = Dispatcher.BeginInvoke((
Action
)delegate
PresentationFramework (33)
src\Framework\MS\Internal\Data\CollectionViewGroupInternal.cs (1)
607
(
Action
)delegate()
src\Framework\MS\Internal\Data\DataBindEngine.cs (2)
514
(
Action
)ProcessCrossThreadRequests);
577
(
Action
)ProcessCrossThreadRequests);
src\Framework\MS\Internal\Data\ValueTable.cs (1)
77
Action
FetchAndCacheValue = () =>
src\Framework\MS\Internal\Data\ViewManager.cs (2)
394
public void AccessCollection(IEnumerable collection,
Action
accessMethod, bool writeAccess)
679
Action
accessMethod,
src\Framework\System\Windows\Controls\DataGrid.cs (1)
4087
Dispatcher.BeginInvoke((
Action
)delegate()
src\Framework\System\Windows\Controls\DataGridHyperlinkColumn.cs (1)
307
Dispatcher.Invoke((
Action
)delegate(){}, System.Windows.Threading.DispatcherPriority.Background);
src\Framework\System\Windows\Controls\DataGridTextColumn.cs (1)
285
Dispatcher.Invoke((
Action
)delegate(){}, System.Windows.Threading.DispatcherPriority.Background);
src\Framework\System\Windows\Controls\DatePicker.cs (1)
354
dp.Dispatcher.BeginInvoke(DispatcherPriority.Input, (
Action
)delegate()
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (9)
801
DispatcherOperation anchorOperation = Dispatcher.BeginInvoke(DispatcherPriority.Render, (
Action
)OnAnchorOperation);
870
DispatcherOperation anchorOperation = Dispatcher.BeginInvoke(DispatcherPriority.Background, (
Action
)OnAnchorOperation);
1035
DispatcherOperation anchorOperation = Dispatcher.BeginInvoke(DispatcherPriority.Render, (
Action
)OnAnchorOperation);
1378
(
Action
)delegate()
1678
Dispatcher.BeginInvoke(DispatcherPriority.Loaded, (
Action
)delegate()
4291
Action
measureCachesAction = null;
4293
measureCachesAction = (
Action
)delegate()
4371
(
Action
)ClearIsScrollActive);
4390
(
Action
)ClearIsScrollActive);
src\Framework\System\Windows\Data\BindingListCollectionView.cs (6)
2443
Dispatcher.BeginInvoke(DispatcherPriority.DataBind, (
Action
)RestoreLiveShaping);
2502
private void DeferAction(
Action
action)
2506
_deferredActions = new List<
Action
>();
2516
List<
Action
> deferredActions = _deferredActions;
2519
foreach(
Action
action in deferredActions)
2578
private List<
Action
> _deferredActions;
src\Framework\System\Windows\Data\BindingOperations.cs (1)
386
Action
accessMethod,
src\Framework\System\Windows\Data\CollectionSynchronizationCallback.cs (1)
44
Action
accessMethod,
src\Framework\System\Windows\Data\ListCollectionView.cs (6)
3287
Dispatcher.BeginInvoke(DispatcherPriority.DataBind, (
Action
)RestoreLiveShaping);
3311
private void DeferAction(
Action
action)
3315
_deferredActions = new List<
Action
>();
3325
List<
Action
> deferredActions = _deferredActions;
3328
foreach(
Action
action in deferredActions)
3364
private List<
Action
> _deferredActions;
SMSvcHost (7)
System\ServiceModel\Activation\DupHandleConnectionReader.cs (1)
27
Action
connectionDequeuedCallback, TransportType transportType,
System\ServiceModel\Activation\ListenerConnectionDemuxer.cs (1)
93
void OnConnectionAvailable(IConnection connection,
Action
connectionDequeuedCallback)
System\ServiceModel\Activation\ListenerConnectionModeReader.cs (1)
189
public void StartReading(TimeSpan timeout,
Action
connectionDequeuedCallback)
System\ServiceModel\Activation\ListenerSessionConnection.cs (2)
15
Action
itemDequeuedCallback;
21
Action
itemDequeuedCallback)
System\ServiceModel\Activation\ListenerSessionConnectionReader.cs (1)
14
Action
connectionDequeuedCallback, TransportType transportType,
System\ServiceModel\Activation\ListenerSingletonConnectionReader.cs (1)
14
Action
connectionDequeuedCallback, TransportType transportType,
System.Activities (3)
System\Activities\WorkflowApplication.cs (3)
77
Action
invokeCompletedCallback;
1174
static WorkflowApplication CreateInstance(Activity activity, IDictionary<string, object> inputs, WorkflowInstanceExtensionManager extensions, SynchronizationContext syncContext,
Action
invokeCompletedCallback)
1238
static WorkflowApplication StartInvoke(Activity activity, IDictionary<string, object> inputs, WorkflowInstanceExtensionManager extensions, SynchronizationContext syncContext,
Action
invokeCompletedCallback, AsyncInvokeContext invokeContext)
System.Activities.Core.Presentation (13)
System\Activities\Core\Presentation\CaseKeyBox.xaml.cs (2)
136
this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (
Action
)(() =>
141
this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (
Action
)(() =>
System\Activities\Core\Presentation\FlowchartConnectionPointsAdorner.cs (1)
117
private static void DrawtWithTransform(DrawingContext drawingContext, bool isRightToLeft, double axis,
Action
doDraw)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (1)
1722
this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (
Action
)(() =>
System\Activities\Core\Presentation\InteropDesigner.xaml.cs (2)
79
this.Dispatcher.BeginInvoke(DispatcherPriority.SystemIdle, (
Action
)(() =>
83
this.Dispatcher.BeginInvoke(DispatcherPriority.SystemIdle, (
Action
)(() =>
System\Activities\Core\Presentation\RegisterMetadataDelayedWorker.cs (3)
78
Action
delayedRegisterMetadataWork = new DelayedRegisterMetadataWorkContext(currentDelayedWorkItems).Work;
111
private
Action
interceptingWork;
113
public TypeDescriptionProviderInterceptor(TypeDescriptionProvider parent,
Action
interceptingWork)
System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (1)
275
this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, (
Action
)(() =>
System\Activities\Core\Presentation\TryCatchDesigner.xaml.cs (3)
304
this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, (
Action
)(() =>
423
this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, (
Action
)(() =>
433
this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, (
Action
)(() =>
System.Activities.Presentation (25)
System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (1)
249
this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (
Action
)(() =>
System.Activities.Presentation\System\Activities\Presentation\Annotations\DockedAnnotationView.xaml.cs (1)
23
public event
Action
UndockButtonClicked;
System.Activities.Presentation\System\Activities\Presentation\Annotations\FloatingAnnotationView.xaml.cs (1)
30
public event
Action
DockButtonClicked;
System.Activities.Presentation\System\Activities\Presentation\Annotations\IDockedAnnotation.cs (1)
13
event
Action
UndockButtonClicked;
System.Activities.Presentation\System\Activities\Presentation\Annotations\IFloatingAnnotation.cs (1)
19
event
Action
DockButtonClicked;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagEditor.xaml.cs (1)
99
this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (
Action
)(() =>
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (1)
375
Action
MeasureConnectors = () =>
System.Activities.Presentation\System\Activities\Presentation\Model\GenericArgumentsUpdater.cs (1)
62
Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Render, (
Action
)(() =>
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
658
Action
onForceElementFocusDelegate;
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
1048
virtualizingContainerService.BeginPopulateAll((
Action
)(() =>
1120
virtualizingContainerService.BeginPopulateAll((
Action
)(() =>
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (2)
233
this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (
Action
)(() =>
240
this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (
Action
)(() =>
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (6)
144
Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Render, (
Action
)(() =>
153
internal void BeginPopulateAll(
Action
onAfterPopulateAll)
160
void PopulateAllWithWaitCursor( Cursor oldCursor,
Action
onAfterPopulateAll)
176
Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Loaded, (
Action
)(() =>
357
this.Dispatcher.BeginInvoke(DispatcherPriority.Render, (
Action
)(() =>
430
this.Dispatcher.BeginInvoke(DispatcherPriority.Render, (
Action
)(() =>
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (3)
260
this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (
Action
)(() =>
447
this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (
Action
)(() =>
645
this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, (
Action
)(() =>
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (2)
257
this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (
Action
)(() =>
527
this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, (
Action
)(() =>
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
1020
this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (
Action
)(() =>
System.Core (2)
Microsoft\Scripting\Compiler\DelegateHelpers.Generated.cs (1)
262
case 0: return typeof(
Action
);
System\FuncAndAction.cs (1)
8
[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.
Action
))]
System.Data (35)
cdf\src\NetFx40\Tools\System.Activities.Core.Presentation\System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (1)
275
this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, (
Action
)(() =>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (1)
249
this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (
Action
)(() =>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Annotations\DockedAnnotationView.xaml.cs (1)
23
public event
Action
UndockButtonClicked;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Annotations\FloatingAnnotationView.xaml.cs (1)
30
public event
Action
DockButtonClicked;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Annotations\IDockedAnnotation.cs (1)
13
event
Action
UndockButtonClicked;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Annotations\IFloatingAnnotation.cs (1)
19
event
Action
DockButtonClicked;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagEditor.xaml.cs (1)
99
this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (
Action
)(() =>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (1)
375
Action
MeasureConnectors = () =>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\GenericArgumentsUpdater.cs (1)
62
Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Render, (
Action
)(() =>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
658
Action
onForceElementFocusDelegate;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
1048
virtualizingContainerService.BeginPopulateAll((
Action
)(() =>
1120
virtualizingContainerService.BeginPopulateAll((
Action
)(() =>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (2)
233
this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (
Action
)(() =>
240
this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (
Action
)(() =>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (6)
144
Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Render, (
Action
)(() =>
153
internal void BeginPopulateAll(
Action
onAfterPopulateAll)
160
void PopulateAllWithWaitCursor( Cursor oldCursor,
Action
onAfterPopulateAll)
176
Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Loaded, (
Action
)(() =>
357
this.Dispatcher.BeginInvoke(DispatcherPriority.Render, (
Action
)(() =>
430
this.Dispatcher.BeginInvoke(DispatcherPriority.Render, (
Action
)(() =>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (3)
260
this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (
Action
)(() =>
447
this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (
Action
)(() =>
645
this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, (
Action
)(() =>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (2)
257
this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (
Action
)(() =>
527
this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, (
Action
)(() =>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
1020
this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (
Action
)(() =>
fx\src\data\System\Data\SqlClient\SqlConnection.cs (3)
1274
internal Task ValidateAndReconnect(
Action
beforeDisconnect, int timeout) {
1729
internal void OnError(SqlException exception, bool breakConnection, Action<
Action
> wrapCloseInAction) {
1745
Action
closeAction = () => {
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 (4)
32
internal static Task CreateContinuationTask(Task task,
Action
onSuccess, SqlInternalConnectionTds connectionToDoom = null, Action<Exception> onFailure = null) {
52
Action
onSuccess,
55
Action
onCancellation = null,
152
internal static void WaitForCompletion(Task task, int timeout,
Action
onTimeout = null, bool rethrowExceptions=true) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
1295
Action<
Action
> wrapCloseAction = closeAction => {
System.Data.Entity (33)
System\Data\Common\EntitySql\SemanticResolver.cs (2)
1075
private readonly
Action
_action;
1077
internal Disposer(
Action
action)
System\Data\Common\Internal\Materialization\Shaper.cs (1)
1055
internal Shaper(DbDataReader reader, ObjectContext context, MetadataWorkspace workspace, MergeOption mergeOption, int stateCount, CoordinatorFactory<T> rootCoordinatorFactory,
Action
checkPermissions, bool readerOwned)
System\Data\Common\Internal\Materialization\ShaperFactory.cs (2)
53
private readonly
Action
_checkPermissions;
56
internal ShaperFactory(int stateCount, CoordinatorFactory<T> rootCoordinatorFactory,
Action
checkPermissions, MergeOption mergeOption)
System\Data\Common\Internal\Materialization\Translator.cs (3)
227
Action
checkPermissionsDelegate = translator.GetCheckPermissionsDelegate();
290
private
Action
GetCheckPermissionsDelegate()
293
return _hasNonPublicMembers ? (
Action
)DemandMemberAccess : null;
System\Data\Mapping\FunctionImportMapping.cs (2)
627
internal object GetConditionValue(Type columnValueType,
Action
handleTypeNotComparable,
Action
handleInvalidConditionValue)
System\Data\Mapping\ViewGeneration\Structures\MemberPath.cs (1)
468
internal void AsCql(Action<string> accessMember,
Action
getKey, Action<StructuralType> treatAs)
System\Data\Mapping\ViewGeneration\Structures\NegatedConstant.cs (2)
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 (2)
262
Action
varIsNotNull,
263
Action
varIsNull,
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (7)
29
private readonly List<
Action
> _unresolvedNavigationProperties = new List<
Action
>();
31
private List<
Action
> _referenceResolutions = new List<
Action
>();
48
foreach (
Action
resolve in _referenceResolutions)
56
foreach (
Action
resolve in _unresolvedNavigationProperties)
363
private void AddTypeResolver(
Action
resolver)
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (10)
26
private List<
Action
> _referenceResolutions = new List<
Action
>();
156
List<
Action
> referenceResolutionListForCurrentType = new List<
Action
>();
197
foreach (
var
referenceResolution in referenceResolutionListForCurrentType)
327
foreach (
Action
resolve in _referenceResolutions)
353
private bool TryCreateMembers(Type type, StructuralType cspaceType, StructuralType ospaceType, List<
Action
> referenceResolutionListForCurrentType)
383
private bool TryFindComplexProperties(Type type, StructuralType cspaceType, StructuralType ospaceType, PropertyInfo[] clrProperties, List<
Action
> referenceResolutionListForCurrentType)
417
private bool TryFindNavigationProperties(Type type, StructuralType cspaceType, StructuralType ospaceType, PropertyInfo[] clrProperties, List<
Action
> referenceResolutionListForCurrentType)
599
private bool TryFindAndCreateEnumProperties(Type type, StructuralType cspaceType, StructuralType ospaceType, PropertyInfo[] clrProperties, List<
Action
> referenceResolutionListForCurrentType)
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
1996
private void ForcingNonUnicode(
Action
action, bool forceNonUnicode)
System.ServiceModel (89)
System\ServiceModel\Channels\ChannelDemuxer.cs (12)
197
Action
onItemDequeued;
244
protected abstract void EnqueueAndDispatch(IChannelListener listener, TInnerItem item,
Action
dequeuedCallback, bool canDispatchOnThisThread);
245
protected abstract void EnqueueAndDispatch(IChannelListener listener, Exception exception,
Action
dequeuedCallback, bool canDispatchOnThisThread);
1143
protected override void EnqueueAndDispatch(IChannelListener listener, Message message,
Action
dequeuedCallback, bool canDispatchOnThisThread)
1149
protected override void EnqueueAndDispatch(IChannelListener listener, Exception exception,
Action
dequeuedCallback, bool canDispatchOnThisThread)
1205
protected override void EnqueueAndDispatch(IChannelListener listener, Message message,
Action
dequeuedCallback, bool canDispatchOnThisThread)
1211
protected override void EnqueueAndDispatch(IChannelListener listener, Exception exception,
Action
dequeuedCallback, bool canDispatchOnThisThread)
1454
protected override void EnqueueAndDispatch(IChannelListener listener, RequestContext request,
Action
dequeuedCallback, bool canDispatchOnThisThread)
1488
protected override void EnqueueAndDispatch(IChannelListener listener, Exception exception,
Action
dequeuedCallback, bool canDispatchOnThisThread)
1609
public void EnqueueAndDispatch(TQueuedItem item,
Action
dequeuedCallback, bool canDispatchOnThisThread)
1614
public void EnqueueAndDispatch(Exception exception,
Action
dequeuedCallback, bool canDispatchOnThisThread)
1633
Action
onItemDequeued;
System\ServiceModel\Channels\ConnectionAcceptor.cs (2)
16
delegate void ConnectionAvailableCallback(IConnection connection,
Action
connectionDequeuedCallback);
28
Action
onConnectionDequeued;
System\ServiceModel\Channels\ConnectionDemuxer.cs (4)
38
Action
pooledConnectionDequeuedCallback;
191
void OnConnectionAvailable(IConnection connection,
Action
connectionDequeuedCallback)
320
void OnSingletonConnection(IConnection connection,
Action
connectionDequeuedCallback,
438
void OnDuplexConnection(IConnection connection,
Action
connectionDequeuedCallback,
System\ServiceModel\Channels\ConnectionModeReader.cs (1)
193
public void StartReading(TimeSpan receiveTimeout,
Action
connectionDequeuedCallback)
System\ServiceModel\Channels\ConnectionOrientedTransportManager.cs (3)
24
Action
messageReceivedCallback;
213
internal void SetMessageReceivedCallback(
Action
messageReceivedCallback)
220
Action
callback = this.messageReceivedCallback;
System\ServiceModel\Channels\DatagramAdapter.cs (8)
55
Action
channelPumpAfterExceptionDelegate;
89
protected abstract void Enqueue(ItemType item,
Action
callback);
90
protected abstract void Enqueue(Exception exception,
Action
callback);
366
Action
itemDequeuedDelegate;
778
protected override void Enqueue(Message message,
Action
callback)
783
protected override void Enqueue(Exception exception,
Action
callback)
867
protected override void Enqueue(RequestContext request,
Action
callback)
872
protected override void Enqueue(Exception exception,
Action
callback)
System\ServiceModel\Channels\DeliveryStrategy.cs (2)
15
Action
dequeueCallback;
37
public
Action
DequeueCallback
System\ServiceModel\Channels\HttpChannelListener.cs (6)
406
Action
acceptorCallback,
807
public abstract bool CreateWebSocketChannelAndEnqueue(HttpRequestContext httpRequestContext, HttpPipeline httpPipeline, HttpResponseMessage httpResponseMessage, string subProtocol,
Action
dequeuedCallback);
920
public override bool CreateWebSocketChannelAndEnqueue(HttpRequestContext httpRequestContext, HttpPipeline pipeline, HttpResponseMessage httpResponseMessage, string subProtocol,
Action
dequeuedCallback)
1091
Action
acceptorCallback,
1226
Action
acceptorCallback;
1231
Action
acceptorCallback,
System\ServiceModel\Channels\HttpPipeline.cs (6)
139
internal abstract IAsyncResult BeginProcessInboundRequest(ReplyChannelAcceptor replyChannelAcceptor,
Action
dequeuedCallback, AsyncCallback callback, object state);
243
Action
dequeuedCallback,
397
Action
dequeuedCallback;
501
internal override IAsyncResult BeginProcessInboundRequest(ReplyChannelAcceptor replyChannelAcceptor,
Action
dequeuedCallback, AsyncCallback callback, object state)
872
Action
dequeuedCallback;
876
Action
dequeuedCallback,
System\ServiceModel\Channels\HttpRequestContext.cs (1)
756
Action
acceptorCallback,
System\ServiceModel\Channels\InitialServerConnectionReader.cs (4)
27
Action
connectionDequeuedCallback;
60
public
Action
ConnectionDequeuedCallback
73
public
Action
GetConnectionDequeuedCallback()
75
Action
dequeuedCallback = this.connectionDequeuedCallback;
System\ServiceModel\Channels\InputQueueChannel.cs (5)
44
public void EnqueueAndDispatch(TDisposable item,
Action
dequeuedCallback, bool canDispatchOnThisThread)
52
public void EnqueueAndDispatch(Exception exception,
Action
dequeuedCallback, bool canDispatchOnThisThread)
58
public void EnqueueAndDispatch(TDisposable item,
Action
dequeuedCallback)
66
public bool EnqueueWithoutDispatch(Exception exception,
Action
dequeuedCallback)
72
public bool EnqueueWithoutDispatch(TDisposable item,
Action
dequeuedCallback)
System\ServiceModel\Channels\InputQueueChannelAcceptor.cs (5)
53
public void EnqueueAndDispatch(TChannel channel,
Action
dequeuedCallback)
58
public bool EnqueueWithoutDispatch(TChannel channel,
Action
dequeuedCallback)
63
public virtual bool EnqueueWithoutDispatch(Exception exception,
Action
dequeuedCallback)
68
public void EnqueueAndDispatch(TChannel channel,
Action
dequeuedCallback, bool canDispatchOnThisThread)
73
public virtual void EnqueueAndDispatch(Exception exception,
Action
dequeuedCallback, bool canDispatchOnThisThread)
System\ServiceModel\Channels\NamedPipeChannelListener.cs (1)
131
void ISingletonChannelListener.ReceiveRequest(RequestContext requestContext,
Action
callback, bool canDispatchOnThisThread)
System\ServiceModel\Channels\OneWayChannelListener.cs (2)
652
Action
onExceptionDequeued;
1232
Action
onMessageDequeued;
System\ServiceModel\Channels\PeerMessageDispatcher.cs (1)
31
public void EnqueueAndDispatch(Message message,
Action
callback)
System\ServiceModel\Channels\SessionConnectionReader.cs (1)
47
public ServerSessionPreambleConnectionReader(IConnection connection,
Action
connectionDequeuedCallback,
System\ServiceModel\Channels\SharedHttpTransportManager.cs (1)
26
Action
onMessageDequeued;
System\ServiceModel\Channels\SingletonChannelAcceptor.cs (11)
91
public void Enqueue(QueueItemType item,
Action
dequeuedCallback)
96
public void Enqueue(QueueItemType item,
Action
dequeuedCallback, bool canDispatchOnThisThread)
116
public void Enqueue(Exception exception,
Action
dequeuedCallback)
121
public void Enqueue(Exception exception,
Action
dequeuedCallback, bool canDispatchOnThisThread)
135
public bool EnqueueWithoutDispatch(QueueItemType item,
Action
dequeuedCallback)
156
public override bool EnqueueWithoutDispatch(Exception exception,
Action
dequeuedCallback)
171
public void EnqueueAndDispatch(QueueItemType item,
Action
dequeuedCallback, bool canDispatchOnThisThread)
191
public override void EnqueueAndDispatch(Exception exception,
Action
dequeuedCallback, bool canDispatchOnThisThread)
217
static void InvokeDequeuedCallback(
Action
dequeuedCallback, bool canDispatchOnThisThread)
240
Action
dequeuedCallback = (
Action
)state;
System\ServiceModel\Channels\SingletonConnectionReader.cs (2)
29
void ReceiveRequest(RequestContext requestContext,
Action
callback, bool canDispatchOnThisThread);
51
public ServerSingletonPreambleConnectionReader(IConnection connection,
Action
connectionDequeuedCallback,
System\ServiceModel\Channels\TcpChannelListener.cs (1)
138
void ISingletonChannelListener.ReceiveRequest(RequestContext requestContext,
Action
callback, bool canDispatchOnThisThread)
System\ServiceModel\Channels\TransportChannelListener.cs (3)
40
Action
messageReceivedCallback;
647
internal void SetMessageReceivedCallback(
Action
messageReceivedCallback)
654
Action
callback = this.messageReceivedCallback;
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (1)
1105
Action
messageDequeuedCallback;
System\ServiceModel\Dispatcher\FlowThrottle.cs (4)
26
Action
acquired;
27
Action
released;
159
internal void SetReleased(
Action
action)
164
internal void SetAcquired(
Action
action)
System\ServiceModel\Security\ImpersonatingMessage.cs (1)
198
void ImpersonateCall(
Action
callToImpersonate)
System\ServiceModel\Security\SecuritySessionClientSettings.cs (1)
3152
Action
startReceiving;
System.ServiceModel.Activation (5)
System\ServiceModel\Activation\HostedNamedPipeTransportManager.cs (1)
45
internal void Start(int queueId, Guid token,
Action
messageReceivedCallback)
System\ServiceModel\Activation\HostedTcpTransportManager.cs (1)
24
internal void Start(int queueId, Guid token,
Action
messageReceivedCallback)
System\ServiceModel\Channels\MsmqHostedTransportManager.cs (3)
21
Action
messageReceivedCallback;
90
internal void Start(
Action
messageReceivedCallback)
103
Action
callback = this.messageReceivedCallback;
System.ServiceModel.Activities (4)
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (1)
5678
((
Action
)state).Invoke();
System\ServiceModel\Activities\InternalSendMessage.cs (3)
2121
Action
onRequestSetByChannel;
2146
Action
toCall = null;
2218
public bool SetWorkflowNotificationCallback(
Action
onRequestSetByChannel)
System.ServiceModel.Channels (10)
System\ServiceModel\Channels\IUdpReceiveHandler.cs (1)
18
bool HandleDataReceived(ArraySegment<byte> data, EndPoint remoteEndpoint, int interfaceIndex,
Action
onMessageDequeuedCallback);
System\ServiceModel\Channels\UdpChannelBase.cs (4)
140
bool IUdpReceiveHandler.HandleDataReceived(ArraySegment<byte> data, EndPoint remoteEndpoint, int interfaceIndex,
Action
onMessageDequeuedCallback)
242
internal bool EnqueueMessage(Message message, int messageBufferSize,
Action
messageDequeuedCallback)
244
Action
onMessageDequeuedCallback = () =>
294
internal abstract void FinishEnqueueMessage(Message message,
Action
dequeuedCallback, bool canDispatchOnThisThread);
System\ServiceModel\Channels\UdpChannelListener.cs (2)
169
bool IUdpReceiveHandler.HandleDataReceived(ArraySegment<byte> data, EndPoint remoteEndpoint, int interfaceIndex,
Action
onMessageDequeuedCallback)
459
bool Dispatch(Message message, int messageBufferSize,
Action
onMessageDequeuedCallback)
System\ServiceModel\Channels\UdpDuplexChannel.cs (1)
185
internal override void FinishEnqueueMessage(Message message,
Action
dequeuedCallback, bool canDispatchOnThisThread)
System\ServiceModel\Channels\UdpReplyChannel.cs (1)
150
internal override void FinishEnqueueMessage(Message message,
Action
dequeuedCallback, bool canDispatchOnThisThread)
System\ServiceModel\Channels\UdpSocketReceiveManager.cs (1)
24
Action
onMessageDequeued;
System.ServiceModel.Internals (20)
System\Runtime\AsyncResult.cs (2)
24
Action
beforePrepareAsyncCompletionAction;
260
protected void SetBeforePrepareAsyncCompletionAction(
Action
beforePrepareAsyncCompletionAction)
System\Runtime\Collections\ValidatingCollection.cs (1)
18
public
Action
OnMutateValidationCallback { get; set; }
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (1)
159
public
Action
RefreshState
System\Runtime\Diagnostics\EtwProvider.cs (2)
19
Action
invokeControllerCallback;
31
internal
Action
ControllerCallBack
System\Runtime\InputQueue.cs (14)
320
public void EnqueueAndDispatch(T item,
Action
dequeuedCallback)
325
public void EnqueueAndDispatch(Exception exception,
Action
dequeuedCallback, bool canDispatchOnThisThread)
331
public void EnqueueAndDispatch(T item,
Action
dequeuedCallback, bool canDispatchOnThisThread)
337
public bool EnqueueWithoutDispatch(T item,
Action
dequeuedCallback)
343
public bool EnqueueWithoutDispatch(Exception exception,
Action
dequeuedCallback)
544
static void InvokeDequeuedCallback(
Action
dequeuedCallback)
552
static void InvokeDequeuedCallbackLater(
Action
dequeuedCallback)
574
Action
dequeuedCallback = (
Action
)state;
748
Action
dequeuedCallback;
752
public Item(T value,
Action
dequeuedCallback)
757
public Item(Exception exception,
Action
dequeuedCallback)
762
Item(T value, Exception exception,
Action
dequeuedCallback)
769
public
Action
DequeuedCallback
System.Web (35)
Hosting\AspNetHostExecutionContextManager.cs (1)
76
Action
threadContextCleanupAction = currentContext.EnterExecutionContext();
Hosting\BackgroundWorkScheduler.cs (2)
19
private readonly
Action
_workItemCompleteCallback;
21
internal BackgroundWorkScheduler(Action<BackgroundWorkScheduler> unregisterCallback, Action<AppDomain, Exception> logCallback,
Action
workItemCompleteCallback = null) {
Hosting\CustomRuntimeManager.cs (1)
40
public
Action
SuspendAllCustomRuntimes() {
Hosting\ISuspendibleRegisteredObject.cs (1)
38
Action
Suspend();
Hosting\ProcessHost.cs (3)
825
Action
customRuntimeResumeCallback = _customRuntimeManager.SuspendAllCustomRuntimes();
1159
private readonly
Action
_callback;
1160
public SimpleProcessResumeCallbackDispatcher(
Action
callback) {
Hosting\SuspendManager.cs (6)
110
private static readonly WaitCallback _quwiThunk = (state) => ((
Action
)state)();
115
private readonly List<
Action
> _resumeCallbacks;
120
_resumeCallbacks = new List<
Action
>(suspendibleObjects.Count);
125
Action
callback = suspendibleObject.Suspend();
149
foreach (
Action
callback in _resumeCallbacks) {
155
private static void InvokeResumeCallbackAsync(
Action
callback) {
HttpApplication.cs (4)
2151
public void OnExecuteRequestStep(Action<HttpContextBase,
Action
> callback) {
4448
private Action<
Action
> _action;
4453
public StepInvoker(Action<
Action
> action, StepInvoker step) {
4458
public void Invoke(
Action
executionStep) {
ThreadContext.cs (1)
172
internal
Action
EnterExecutionContext() {
Util\DisposableAction.cs (3)
18
private
Action
_disposeAction;
20
public DisposableAction(
Action
disposeAction) {
26
Action
continuation = Interlocked.Exchange(ref _disposeAction, null);
Util\ExecutionContextUtil.cs (2)
18
private static readonly ContextCallback s_actionToActionObjShunt = obj => ((
Action
)obj)();
36
internal static void RunInNullExecutionContext(
Action
callback) {
Util\SynchronizationHelper.cs (4)
101
public void QueueAsynchronous(
Action
action) {
136
public void QueueSynchronous(
Action
action) {
150
private void SafeWrapCallback(
Action
action) {
209
public bool TrySetCompletionContinuation(
Action
continuation) {
Util\WithinCancellableCallbackTaskAwaitable.cs (7)
33
private static readonly WaitCallback _shunt = state => ((
Action
)state)();
57
public void OnCompleted(
Action
continuation) {
58
Action
wrappedContinuation = WrapContinuation(continuation);
63
public void UnsafeOnCompleted(
Action
continuation) {
64
Action
wrappedContinuation = WrapContinuation(continuation);
68
private
Action
WrapContinuation(
Action
continuation) {
System.Xml (2)
System\Xml\AsyncHelper.cs (2)
21
public static Task CallVoidFuncWhenFinish(this Task task,
Action
func) {
31
private static async Task _CallVoidFuncWhenFinish(this Task task,
Action
func) {
WindowsBase (24)
Base\MS\Internal\Threading\ExceptionWrapper.cs (2)
80
Action
action = callback as
Action
;
Base\MS\Internal\WeakEventTable.cs (1)
424
Dispatcher.Invoke((
Action
)OnShutDown, DispatcherPriority.Send, CancellationToken.None, TimeSpan.FromMilliseconds(300));
Base\System\Windows\Threading\Dispatcher.cs (8)
396
dispatcher.BeginInvoke(DispatcherPriority.Send, (
Action
) delegate {});
560
public void Invoke(
Action
callback)
577
public void Invoke(
Action
callback, DispatcherPriority priority)
600
public void Invoke(
Action
callback, DispatcherPriority priority, CancellationToken cancellationToken)
635
public void Invoke(
Action
callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
872
public DispatcherOperation InvokeAsync(
Action
callback)
895
public DispatcherOperation InvokeAsync(
Action
callback, DispatcherPriority priority)
926
public DispatcherOperation InvokeAsync(
Action
callback, DispatcherPriority priority, CancellationToken cancellationToken)
Base\System\Windows\Threading\DispatcherOperation.cs (3)
85
Action
action) : this(
596
Action
action = (
Action
) _method;
Base\System\Windows\Threading\DispatcherPriorityAwaiter.cs (1)
53
public void OnCompleted(
Action
continuation)
Shared\MS\Internal\ReaderWriterLockSlimWrapper.cs (4)
91
internal bool WithReadLock(
Action
criticalAction)
165
internal bool WithWriteLock(
Action
criticalAction)
262
private bool ExecuteWithinLockInternal(
Action
lockAcquire,
Action
lockRelease, ref object result, Delegate criticalAction, params object[] args)
Shared\MS\Internal\ReaderWriterLockWrapper.cs (5)
168
private void CallWithNonPumpingWait(
Action
callback)
219
private
Action
_enterReadAction;
220
private
Action
_exitReadAction;
221
private
Action
_enterWriteAction;
222
private
Action
_exitWriteAction;