1386 references to Action
aspire (18)
Packaging\PackageChannel.cs (3)
16internal class PackageChannel(string name, PackageChannelQuality quality, PackageMapping[]? mappings, INuGetPackageCache nuGetPackageCache, IFeatures features, ILogger logger, bool configureGlobalPackagesFolder = false, string? cliDownloadBaseUrl = null, string? pinnedVersion = null, string? currentCliVersion = null, Action? validateTemplatePackageMetadataPrefetching = null)
819public static PackageChannel CreateExplicitChannel(string name, PackageChannelQuality quality, PackageMapping[]? mappings, INuGetPackageCache nuGetPackageCache, IFeatures features, ILogger logger, bool configureGlobalPackagesFolder = false, string? cliDownloadBaseUrl = null, string? pinnedVersion = null, string? currentCliVersion = null, Action? validateTemplatePackageMetadataPrefetching = null)
824public static PackageChannel CreateImplicitChannel(INuGetPackageCache nuGetPackageCache, IFeatures features, ILogger logger, string? currentCliVersion = null, Action? validateTemplatePackageMetadataPrefetching = null)
Aspire.Azure.Data.Tables.Tests (4)
Aspire.Azure.Messaging.EventHubs.Tests (20)
Aspire.Azure.Messaging.ServiceBus.Tests (4)
Aspire.Azure.Messaging.WebPubSub.Tests (5)
Aspire.Azure.Npgsql.EntityFrameworkCore.PostgreSQL.Tests (3)
Aspire.Azure.Npgsql.Tests (4)
Aspire.Azure.Search.Documents.Tests (4)
Aspire.Azure.Security.KeyVault.Tests (9)
Aspire.Azure.Storage.Blobs.Tests (4)
Aspire.Azure.Storage.Files.DataLake.Tests (8)
Aspire.Azure.Storage.Queues.Tests (8)
Aspire.Cli.EndToEnd.Tests (1)
Aspire.Cli.Tests (15)
Aspire.Components.Common.TestUtilities (1)
Aspire.Confluent.Kafka.Tests (10)
Aspire.Dashboard (11)
Aspire.Dashboard.Components.Tests (5)
Aspire.Deployment.EndToEnd.Tests (1)
Aspire.Hosting (9)
Aspire.Hosting.Azure.Tests (22)
Aspire.Hosting.Blazor (1)
Aspire.Hosting.Browsers.Tests (2)
Aspire.Hosting.CodeGeneration.Go.Tests (1)
tests\Aspire.Hosting.CodeGeneration.TypeScript.Tests\TestTypes\TestExtensions.cs (1)
406Action callback)
Aspire.Hosting.CodeGeneration.Java.Tests (1)
tests\Aspire.Hosting.CodeGeneration.TypeScript.Tests\TestTypes\TestExtensions.cs (1)
406Action callback)
Aspire.Hosting.CodeGeneration.Python.Tests (1)
tests\Aspire.Hosting.CodeGeneration.TypeScript.Tests\TestTypes\TestExtensions.cs (1)
406Action callback)
Aspire.Hosting.CodeGeneration.Rust.Tests (1)
tests\Aspire.Hosting.CodeGeneration.TypeScript.Tests\TestTypes\TestExtensions.cs (1)
406Action callback)
Aspire.Hosting.CodeGeneration.TypeScript.Tests (1)
Aspire.Hosting.Dotnet (11)
Aspire.Hosting.Maui.Tests (1)
Aspire.Hosting.RemoteHost.Tests (4)
Aspire.Hosting.Testing.Tests (1)
Aspire.Hosting.Tests (6)
Aspire.Microsoft.Azure.Cosmos.Tests (4)
Aspire.Microsoft.Data.SqlClient.Tests (4)
Aspire.Microsoft.EntityFrameworkCore.Cosmos.Tests (4)
Aspire.Microsoft.EntityFrameworkCore.SqlServer.Tests (3)
Aspire.Microsoft.Extensions.Configuration.AzureAppConfiguration.Tests (2)
Aspire.Milvus.Client.Tests (4)
Aspire.MongoDB.Driver.Tests (4)
Aspire.MongoDB.Driver.v2.Tests (4)
Aspire.MongoDB.EntityFrameworkCore.Tests (3)
Aspire.MySqlConnector.Tests (4)
Aspire.NATS.Net.Tests (6)
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests (3)
Aspire.Npgsql.Tests (4)
Aspire.Oracle.EntityFrameworkCore.Tests (3)
Aspire.Pomelo.EntityFrameworkCore.MySql.Tests (3)
Aspire.Qdrant.Client.Tests (4)
Aspire.RabbitMQ.Client.Tests (5)
Aspire.RabbitMQ.Client.v6.Tests (1)
Aspire.Seq.Tests (2)
Aspire.StackExchange.Redis (2)
Aspire.StackExchange.Redis.DistributedCaching.Tests (4)
Aspire.StackExchange.Redis.OutputCaching.Tests (4)
Aspire.StackExchange.Redis.Tests (4)
Aspire.TerminalHost (1)
ConfigurationSchemaGenerator.Tests (2)
dotnet-aot (2)
dotnet-dev-certs (1)
dotnet-getdocument (1)
dotnet-openapi (1)
dotnet-sql-cache (1)
dotnet-svcutil-lib (25)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\InputQueue.cs (14)
319public void EnqueueAndDispatch(T item, Action dequeuedCallback)
324public void EnqueueAndDispatch(Exception exception, Action dequeuedCallback, bool canDispatchOnThisThread)
330public void EnqueueAndDispatch(T item, Action dequeuedCallback, bool canDispatchOnThisThread)
336public bool EnqueueWithoutDispatch(T item, Action dequeuedCallback)
342public bool EnqueueWithoutDispatch(Exception exception, Action dequeuedCallback)
543private static void InvokeDequeuedCallback(Action dequeuedCallback)
551private static void InvokeDequeuedCallbackLater(Action dequeuedCallback)
573Action dequeuedCallback = (Action)state;
747private Action _dequeuedCallback;
751public Item(T value, Action dequeuedCallback)
756public Item(Exception exception, Action dequeuedCallback)
761private Item(T value, Exception exception, Action dequeuedCallback)
768public Action DequeuedCallback
dotnet-user-jwts (1)
dotnet-user-secrets (1)
GenerateDocumentationAndConfigFiles (17)
src\roslyn\src\Dependencies\PooledObjects\PooledDelegates.cs (5)
37/// Gets an <see cref="Action"/> delegate, which calls <paramref name="unboundAction"/> with the specified
65public static Releaser GetPooledAction<TArg>(Action<TArg> unboundAction, TArg argument, out Action boundAction)
66=> GetPooledDelegate<ActionWithBoundArgument<TArg>, TArg, Action<TArg>, Action>(unboundAction, argument, out boundAction);
384: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<TArg>, TArg, Action<TArg>, Action>
386protected override Action Bind()
GetDocument.Insider (1)
ILCompiler.DependencyAnalysisFramework (4)
ILCompiler.ReadyToRun (3)
Microsoft.AspNetCore.Components (17)
Microsoft.AspNetCore.Components.AI (20)
Microsoft.AspNetCore.Components.Authorization (1)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Components.Forms (2)
Microsoft.AspNetCore.Components.Server (1)
Microsoft.AspNetCore.Components.WebAssembly (6)
Microsoft.AspNetCore.Components.WebView.Maui (1)
Microsoft.AspNetCore.Components.WebView.WindowsForms (3)
Microsoft.AspNetCore.Components.WebView.Wpf (1)
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Microsoft.AspNetCore.Hosting (2)
Microsoft.AspNetCore.Hosting.Abstractions (6)
Microsoft.AspNetCore.Http.Connections (2)
Microsoft.AspNetCore.Http.Extensions (20)
src\aspnetcore\src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (8)
26typeof(Action<object, Action>), // onCompletedMethod
27typeof(Action<object, Action>) // unsafeOnCompletedMethod
334var onCompletedParam2 = Expression.Parameter(typeof(Action), "continuation");
335var onCompletedFunc = Expression.Lambda<Action<object, Action>>(
343Action<object, Action>? unsafeOnCompletedFunc = null;
350var unsafeOnCompletedParam2 = Expression.Parameter(typeof(Action), "continuation");
351unsafeOnCompletedFunc = Expression.Lambda<Action<object, Action>>(
380Expression.Constant(unsafeOnCompletedFunc, typeof(Action<object, Action>)));
src\aspnetcore\src\Shared\ObjectMethodExecutor\ObjectMethodExecutorAwaitable.cs (10)
22private readonly Action<object, Action> _onCompletedMethod;
23private readonly Action<object, Action> _unsafeOnCompletedMethod;
48Action<object, Action> onCompletedMethod,
49Action<object, Action> unsafeOnCompletedMethod)
70private readonly Action<object, Action> _onCompletedMethod;
71private readonly Action<object, Action> _unsafeOnCompletedMethod;
77Action<object, Action> onCompletedMethod,
78Action<object, Action> unsafeOnCompletedMethod)
91public void OnCompleted(Action continuation)
96public void UnsafeOnCompleted(Action continuation)
Microsoft.AspNetCore.InternalTesting (11)
ExceptionAssertions.cs (9)
20public static TException Throws<TException>(Action testCode)
34public static TException Throws<TException>(Action testCode, string exceptionMessage)
82public static ArgumentException ThrowsArgument(Action testCode, string paramName, string exceptionMessage)
88Action testCode,
135public static ArgumentNullException ThrowsArgumentNull(Action testCode, string paramName)
152public static ArgumentException ThrowsArgumentNullOrEmpty(Action testCode, string paramName)
176public static ArgumentException ThrowsArgumentNullOrEmptyString(Action testCode, string paramName)
201public static ArgumentOutOfRangeException ThrowsArgumentOutOfRange(Action testCode, string paramName, string exceptionMessage, object actualValue = null)
223private static Exception RecordException(Action testCode)
Microsoft.AspNetCore.JsonPatch (2)
Microsoft.AspNetCore.JsonPatch.SystemTextJson (2)
Microsoft.AspNetCore.Mvc.Core (28)
src\aspnetcore\src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (8)
26typeof(Action<object, Action>), // onCompletedMethod
27typeof(Action<object, Action>) // unsafeOnCompletedMethod
334var onCompletedParam2 = Expression.Parameter(typeof(Action), "continuation");
335var onCompletedFunc = Expression.Lambda<Action<object, Action>>(
343Action<object, Action>? unsafeOnCompletedFunc = null;
350var unsafeOnCompletedParam2 = Expression.Parameter(typeof(Action), "continuation");
351unsafeOnCompletedFunc = Expression.Lambda<Action<object, Action>>(
380Expression.Constant(unsafeOnCompletedFunc, typeof(Action<object, Action>)));
src\aspnetcore\src\Shared\ObjectMethodExecutor\ObjectMethodExecutorAwaitable.cs (10)
22private readonly Action<object, Action> _onCompletedMethod;
23private readonly Action<object, Action> _unsafeOnCompletedMethod;
48Action<object, Action> onCompletedMethod,
49Action<object, Action> unsafeOnCompletedMethod)
70private readonly Action<object, Action> _onCompletedMethod;
71private readonly Action<object, Action> _unsafeOnCompletedMethod;
77Action<object, Action> onCompletedMethod,
78Action<object, Action> unsafeOnCompletedMethod)
91public void OnCompleted(Action continuation)
96public void UnsafeOnCompleted(Action continuation)
Microsoft.AspNetCore.Mvc.RazorPages (8)
Microsoft.AspNetCore.OpenApi (20)
src\aspnetcore\src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (8)
26typeof(Action<object, Action>), // onCompletedMethod
27typeof(Action<object, Action>) // unsafeOnCompletedMethod
334var onCompletedParam2 = Expression.Parameter(typeof(Action), "continuation");
335var onCompletedFunc = Expression.Lambda<Action<object, Action>>(
343Action<object, Action>? unsafeOnCompletedFunc = null;
350var unsafeOnCompletedParam2 = Expression.Parameter(typeof(Action), "continuation");
351unsafeOnCompletedFunc = Expression.Lambda<Action<object, Action>>(
380Expression.Constant(unsafeOnCompletedFunc, typeof(Action<object, Action>)));
src\aspnetcore\src\Shared\ObjectMethodExecutor\ObjectMethodExecutorAwaitable.cs (10)
22private readonly Action<object, Action> _onCompletedMethod;
23private readonly Action<object, Action> _unsafeOnCompletedMethod;
48Action<object, Action> onCompletedMethod,
49Action<object, Action> unsafeOnCompletedMethod)
70private readonly Action<object, Action> _onCompletedMethod;
71private readonly Action<object, Action> _unsafeOnCompletedMethod;
77Action<object, Action> onCompletedMethod,
78Action<object, Action> unsafeOnCompletedMethod)
91public void OnCompleted(Action continuation)
96public void UnsafeOnCompleted(Action continuation)
Microsoft.AspNetCore.OutputCaching (2)
Microsoft.AspNetCore.Razor.Utilities.Shared (5)
src\roslyn\src\Dependencies\PooledObjects\PooledDelegates.cs (5)
37/// Gets an <see cref="Action"/> delegate, which calls <paramref name="unboundAction"/> with the specified
65public static Releaser GetPooledAction<TArg>(Action<TArg> unboundAction, TArg argument, out Action boundAction)
66=> GetPooledDelegate<ActionWithBoundArgument<TArg>, TArg, Action<TArg>, Action>(unboundAction, argument, out boundAction);
384: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<TArg>, TArg, Action<TArg>, Action>
386protected override Action Bind()
Microsoft.AspNetCore.ResponseCaching (2)
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Microsoft.AspNetCore.SignalR.Client.Core (8)
Microsoft.AspNetCore.SignalR.Core (20)
src\aspnetcore\src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (8)
26typeof(Action<object, Action>), // onCompletedMethod
27typeof(Action<object, Action>) // unsafeOnCompletedMethod
334var onCompletedParam2 = Expression.Parameter(typeof(Action), "continuation");
335var onCompletedFunc = Expression.Lambda<Action<object, Action>>(
343Action<object, Action>? unsafeOnCompletedFunc = null;
350var unsafeOnCompletedParam2 = Expression.Parameter(typeof(Action), "continuation");
351unsafeOnCompletedFunc = Expression.Lambda<Action<object, Action>>(
380Expression.Constant(unsafeOnCompletedFunc, typeof(Action<object, Action>)));
src\aspnetcore\src\Shared\ObjectMethodExecutor\ObjectMethodExecutorAwaitable.cs (10)
22private readonly Action<object, Action> _onCompletedMethod;
23private readonly Action<object, Action> _unsafeOnCompletedMethod;
48Action<object, Action> onCompletedMethod,
49Action<object, Action> unsafeOnCompletedMethod)
70private readonly Action<object, Action> _onCompletedMethod;
71private readonly Action<object, Action> _unsafeOnCompletedMethod;
77Action<object, Action> onCompletedMethod,
78Action<object, Action> unsafeOnCompletedMethod)
91public void OnCompleted(Action continuation)
96public void UnsafeOnCompleted(Action continuation)
Microsoft.AspNetCore.SpaServices.Extensions (1)
Microsoft.AspNetCore.TestHost (8)
Microsoft.Build (22)
src\msbuild\artifacts\.packages\microsoft.codeanalysis.pooledobjects\5.0.0-1.25277.114\contentFiles\cs\netstandard2.0\PooledDelegates.cs (5)
37/// Gets an <see cref="Action"/> delegate, which calls <paramref name="unboundAction"/> with the specified
65public static Releaser GetPooledAction<TArg>(Action<TArg> unboundAction, TArg argument, out Action boundAction)
66=> GetPooledDelegate<ActionWithBoundArgument<TArg>, TArg, Action<TArg>, Action>(unboundAction, argument, out boundAction);
384: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<TArg>, TArg, Action<TArg>, Action>
386protected override Action Bind()
Microsoft.Build.Framework (1)
Microsoft.Build.Tasks.Core (3)
Microsoft.CodeAnalysis (15)
src\roslyn\src\Dependencies\PooledObjects\PooledDelegates.cs (5)
37/// Gets an <see cref="Action"/> delegate, which calls <paramref name="unboundAction"/> with the specified
65public static Releaser GetPooledAction<TArg>(Action<TArg> unboundAction, TArg argument, out Action boundAction)
66=> GetPooledDelegate<ActionWithBoundArgument<TArg>, TArg, Action<TArg>, Action>(unboundAction, argument, out boundAction);
384: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<TArg>, TArg, Action<TArg>, Action>
386protected override Action Bind()
Microsoft.CodeAnalysis.Analyzers (18)
src\roslyn\src\Dependencies\PooledObjects\PooledDelegates.cs (5)
37/// Gets an <see cref="Action"/> delegate, which calls <paramref name="unboundAction"/> with the specified
65public static Releaser GetPooledAction<TArg>(Action<TArg> unboundAction, TArg argument, out Action boundAction)
66=> GetPooledDelegate<ActionWithBoundArgument<TArg>, TArg, Action<TArg>, Action>(unboundAction, argument, out boundAction);
384: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<TArg>, TArg, Action<TArg>, Action>
386protected override Action Bind()
Microsoft.CodeAnalysis.AnalyzerUtilities (17)
src\roslyn\src\Dependencies\PooledObjects\PooledDelegates.cs (5)
37/// Gets an <see cref="Action"/> delegate, which calls <paramref name="unboundAction"/> with the specified
65public static Releaser GetPooledAction<TArg>(Action<TArg> unboundAction, TArg argument, out Action boundAction)
66=> GetPooledDelegate<ActionWithBoundArgument<TArg>, TArg, Action<TArg>, Action>(unboundAction, argument, out boundAction);
384: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<TArg>, TArg, Action<TArg>, Action>
386protected override Action Bind()
Microsoft.CodeAnalysis.CodeStyle (17)
src\roslyn\src\Dependencies\PooledObjects\PooledDelegates.cs (5)
37/// Gets an <see cref="Action"/> delegate, which calls <paramref name="unboundAction"/> with the specified
65public static Releaser GetPooledAction<TArg>(Action<TArg> unboundAction, TArg argument, out Action boundAction)
66=> GetPooledDelegate<ActionWithBoundArgument<TArg>, TArg, Action<TArg>, Action>(unboundAction, argument, out boundAction);
384: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<TArg>, TArg, Action<TArg>, Action>
386protected override Action Bind()
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
Microsoft.CodeAnalysis.CSharp.Features (6)
Microsoft.CodeAnalysis.Extensions.Package (6)
src\roslyn\src\Dependencies\PooledObjects\PooledDelegates.cs (5)
37/// Gets an <see cref="Action"/> delegate, which calls <paramref name="unboundAction"/> with the specified
65public static Releaser GetPooledAction<TArg>(Action<TArg> unboundAction, TArg argument, out Action boundAction)
66=> GetPooledDelegate<ActionWithBoundArgument<TArg>, TArg, Action<TArg>, Action>(unboundAction, argument, out boundAction);
384: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<TArg>, TArg, Action<TArg>, Action>
386protected override Action Bind()
Microsoft.CodeAnalysis.Features (11)
Microsoft.CodeAnalysis.Razor.Compiler (2)
Microsoft.CodeAnalysis.ResxSourceGenerator (17)
src\roslyn\src\Dependencies\PooledObjects\PooledDelegates.cs (5)
37/// Gets an <see cref="Action"/> delegate, which calls <paramref name="unboundAction"/> with the specified
65public static Releaser GetPooledAction<TArg>(Action<TArg> unboundAction, TArg argument, out Action boundAction)
66=> GetPooledDelegate<ActionWithBoundArgument<TArg>, TArg, Action<TArg>, Action>(unboundAction, argument, out boundAction);
384: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<TArg>, TArg, Action<TArg>, Action>
386protected override Action Bind()
Microsoft.CodeAnalysis.Workspaces (23)
src\roslyn\src\Dependencies\PooledObjects\PooledDelegates.cs (5)
37/// Gets an <see cref="Action"/> delegate, which calls <paramref name="unboundAction"/> with the specified
65public static Releaser GetPooledAction<TArg>(Action<TArg> unboundAction, TArg argument, out Action boundAction)
66=> GetPooledDelegate<ActionWithBoundArgument<TArg>, TArg, Action<TArg>, Action>(unboundAction, argument, out boundAction);
384: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<TArg>, TArg, Action<TArg>, Action>
386protected override Action Bind()
Microsoft.Data.Analysis (2)
Microsoft.Diagnostics.DataContractReader.Legacy (1)
Microsoft.DotNet.Cli.Utils (3)
Microsoft.DotNet.HotReload.Watch (3)
Microsoft.DotNet.XliffTasks (1)
Microsoft.Extensions.AI.Abstractions.Tests (2)
Microsoft.Extensions.AI.Evaluation (1)
Microsoft.Extensions.AI.Evaluation.Console (3)
Microsoft.Extensions.AI.Evaluation.NLP (1)
Microsoft.Extensions.AI.Evaluation.Quality (1)
Microsoft.Extensions.AI.Evaluation.Safety (1)
Microsoft.Extensions.AI.Tests (4)
Microsoft.Extensions.Caching.SqlServer (1)
Microsoft.Extensions.Diagnostics.Probes.Tests (1)
Microsoft.Extensions.Diagnostics.Testing.Tests (1)
Microsoft.Extensions.Http.Resilience (1)
Microsoft.Extensions.ML (1)
Microsoft.Extensions.Options (3)
Microsoft.Extensions.Primitives (2)
Microsoft.Extensions.ServiceDiscovery.Tests (1)
Microsoft.Gen.ComplianceReports (2)
Microsoft.Gen.Logging.Generated.Tests (1)
Microsoft.Gen.MetadataExtractor (2)
Microsoft.Maui (28)
Microsoft.Maui.Controls (32)
AnimationExtensions.cs (6)
124 Action abort = () =>
184 Action animate = () => AnimateInternal(self, animationManager, name, transform, callback, rate, length, easing, finished, repeat);
191 public static void AnimateKinetic(this IAnimatable self, string name, Func<double, double, bool> callback, double velocity, double drag, Action finished = null, IAnimationManager animationManager = null)
196 Action animate = () => AnimateKineticInternal(self, animationManager, name, callback, velocity, drag, finished);
286 static void AnimateKineticInternal(IAnimatable self, IAnimationManager animationManager, string name, Func<double, double, bool> callback, double velocity, double drag, Action finished = null)
376 static void DoAction(IAnimatable self, Action action)
Microsoft.Maui.Controls.Foldable (3)
Microsoft.Maui.Essentials (3)
Microsoft.Maui.Resizetizer (1)
Microsoft.ML.AutoML.Interactive (2)
Microsoft.ML.Core (12)
Microsoft.ML.Data (63)
Transforms\TransformBase.cs (10)
184var getters = CreateGetters(input, activeColumns, out Action disp);
189protected abstract Delegate[] CreateGetters(DataViewRow input, IEnumerable<DataViewSchema.Column> activeColumns, out Action disp);
197private readonly Action _disposer;
203public RowImpl(DataViewRow input, RowToRowMapperTransformBase parent, DataViewSchema schema, Delegate[] getters, Action disposer)
692protected abstract Delegate GetGetterCore(IChannel ch, DataViewRow input, int iinfo, out Action disposer);
818protected override Delegate[] CreateGetters(DataViewRow input, IEnumerable<DataViewSchema.Column> activeColumns, out Action disposer)
836Action disp;
850private readonly Action _disposer;
864Action masterDisposer = null;
869_getters[iinfo] = parent.GetGetterCore(Ch, Input, iinfo, out Action disposer);
Microsoft.ML.Ensemble (7)
PipelineEnsemble.cs (7)
110var scoreGetter = CreateScoreGetter(input, out Action disposer);
114internal abstract Delegate CreateScoreGetter(DataViewRow input, out Action disposer);
130internal override Delegate CreateScoreGetter(DataViewRow input, out Action disposer)
162public ValueGetter<Single> GetLabelGetter(DataViewRow input, int i, out Action disposer)
174public ValueGetter<Single> GetWeightGetter(DataViewRow input, int i, out Action disposer)
333var scoreGetter = (ValueGetter<Single>)bound.CreateScoreGetter(curs, out Action disposer);
337var labelGetter = bound.GetLabelGetter(curs, 0, out Action disp);
Microsoft.ML.FastTree (22)
Microsoft.ML.ImageAnalytics (8)
ImageLoader.cs (3)
206protected override Delegate MakeGetter(DataViewRow input, int iinfo, Func<int, bool> activeOutput, out Action disposer)
216private Delegate MakeGetterImageDataViewType(DataViewRow input, int iinfo, Func<int, bool> activeOutput, out Action disposer)
263private Delegate MakeGetterVectorDataViewByteType(DataViewRow input, int iinfo, Func<int, bool> activeOutput, out Action disposer)
Microsoft.ML.KMeansClustering (4)
Microsoft.ML.LightGbm (1)
Microsoft.ML.Mkl.Components (1)
Microsoft.ML.OnnxTransformer (2)
Microsoft.ML.PCA (1)
Microsoft.ML.TensorFlow (2)
Microsoft.ML.TestFramework (2)
Microsoft.ML.TestFrameworkCommon (1)
Microsoft.ML.Tests (2)
Microsoft.ML.TimeSeries (17)
SequentialTransformerBase.cs (9)
613var getters = _mapper.CreateGetters(input, active, out Action disposer);
614var pingers = _mapper.CreatePinger(input, active, out Action pingerDisposer);
625private readonly Action _disposer;
635public RowImpl(ColumnBindings bindings, DataViewRow input, Delegate[] getters, Action<PingerArgument> pinger, Action disposer)
938var getters = _mapper.CreateGetters(input, pred, out Action disp);
939var pingers = _mapper.CreatePinger(input, pred, out Action pingerDisp);
949private readonly Action _disposer;
960DataViewSchema schema, Delegate[] getters, Action<PingerArgument> pinger, Action disposer)
1022private readonly Action _disposer;
Microsoft.ML.Tokenizers.Data.Tests (1)
Microsoft.ML.Tokenizers.Tests (1)
Microsoft.ML.TorchSharp (7)
Microsoft.ML.Transforms (32)
Microsoft.ML.Vision (1)
Microsoft.NET.Build.Tasks (2)
Microsoft.NET.HostModel (1)
Microsoft.NET.ProjectData (2)
Microsoft.TemplateEngine.Abstractions (1)
Microsoft.TemplateEngine.Edge (4)
Microsoft.TemplateEngine.Utils (3)
Microsoft.TestPlatform.CoreUtilities (1)
Microsoft.TestPlatform.CrossPlatEngine (11)
Microsoft.TestPlatform.Extensions.BlameDataCollector (1)
Microsoft.TestPlatform.PlatformAbstractions (2)
Microsoft.VisualStudio.TestPlatform.Common (3)
Mono.Cecil.Pdb (1)
mscorlib (1)
netstandard (1)
NuGet.Common (3)
NuGet.PackageManagement (4)
PresentationCore (4)
PresentationFramework (36)
Roslyn.Diagnostics.Analyzers (17)
src\roslyn\src\Dependencies\PooledObjects\PooledDelegates.cs (5)
37/// Gets an <see cref="Action"/> delegate, which calls <paramref name="unboundAction"/> with the specified
65public static Releaser GetPooledAction<TArg>(Action<TArg> unboundAction, TArg argument, out Action boundAction)
66=> GetPooledDelegate<ActionWithBoundArgument<TArg>, TArg, Action<TArg>, Action>(unboundAction, argument, out boundAction);
384: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<TArg>, TArg, Action<TArg>, Action>
386protected override Action Bind()
rzc (1)
ScenarioTests.Common.Tests (1)
System.ComponentModel.Composition (24)
System.Composition.Hosting (10)
System.Composition.Runtime (6)
System.Core (1)
System.Diagnostics.DiagnosticSource (6)
System.Linq.Expressions (4)
System.Net.Http.WinHttpHandler (7)
System.Net.NameResolution (2)
System.Private.CoreLib (98)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskContinuation.cs (15)
369Debug.Assert(state is Action);
370((Action)state)();
382SynchronizationContext context, Action action, bool flowExecutionContext) :
432private static Action GetActionLogDelegate(int continuationId, Action action)
463TaskScheduler scheduler, Action action, bool flowExecutionContext) :
491internal static void RunOrScheduleAction(Action action, TaskScheduler scheduler, ExecutionContext? capturedContext, bool allowInlining)
511((Action)state!)();
538protected readonly Action m_action;
545internal AwaitTaskContinuation(Action action, bool flowExecutionContext)
683Debug.Assert(state is Action);
684((Action)state)();
686private static readonly Action<Action> s_invokeAction = (action) => action();
741internal static void RunOrScheduleAction(Action action, bool allowInlining)
831internal static void UnsafeScheduleAction(Action action, Task? task)
System.Runtime (1)
System.Runtime.InteropServices.JavaScript (3)
System.Security.Principal.Windows (2)
System.ServiceModel.Federation (2)
System.ServiceModel.Primitives (24)
Internals\System\Runtime\InputQueue.cs (13)
374public void EnqueueAndDispatch(T item, Action dequeuedCallback)
379public void EnqueueAndDispatch(Exception exception, Action dequeuedCallback, bool canDispatchOnThisThread)
385public void EnqueueAndDispatch(T item, Action dequeuedCallback, bool canDispatchOnThisThread)
391public bool EnqueueWithoutDispatch(T item, Action dequeuedCallback)
397public bool EnqueueWithoutDispatch(Exception exception, Action dequeuedCallback)
648private static void InvokeDequeuedCallback(Action dequeuedCallback)
656private static void InvokeDequeuedCallbackLater(Action dequeuedCallback)
678Action dequeuedCallback = (Action)state;
854public Item(T value, Action dequeuedCallback)
859public Item(Exception exception, Action dequeuedCallback)
864private Item(T value, Exception exception, Action dequeuedCallback)
871public Action DequeuedCallback { get; }
System.Text.RegularExpressions (1)
System.Threading.RateLimiting (5)
System.Threading.Tasks.Dataflow (10)
System.Threading.Tasks.Parallel (6)
System.Transactions.Local (1)
System.Windows.Controls.Ribbon (16)
System.Windows.Forms (11)
System.Windows.Forms.Design (1)
System.Windows.Forms.Primitives (3)
System.Windows.Input.Manipulations (1)
System.Windows.Presentation (6)
System\Windows\Threading\DispatcherExtensions.cs (6)
28public static DispatcherOperation BeginInvoke(this Dispatcher dispatcher, Action action)
55public static DispatcherOperation BeginInvoke(this Dispatcher dispatcher, Action action, DispatcherPriority priority)
74public static void Invoke(this Dispatcher dispatcher, Action action)
97public static void Invoke(this Dispatcher dispatcher, Action action, DispatcherPriority priority)
119public static void Invoke(this Dispatcher dispatcher, Action action, TimeSpan timeout)
145public static void Invoke(this Dispatcher dispatcher, Action action, TimeSpan timeout, DispatcherPriority priority)
UnitTests.Common (25)