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