46 references to Func
Aspire.Cli.Tests (2)
TestServices\TestDotNetCliRunner.cs (2)
20public Func<FileInfo, string[], string[], DotNetCliRunnerInvocationOptions, CancellationToken, (int ExitCode, JsonDocument? Output)>? GetProjectItemsAndPropertiesAsyncCallback { get; set; } 22public Func<string, string, string, DotNetCliRunnerInvocationOptions, CancellationToken, int>? NewProjectAsyncCallback { get; set; }
CatalogDb (1)
Model.cs (1)
12private static readonly Func<CatalogDbContext, int?, int?, int?, int, IAsyncEnumerable<CatalogItem>> s_getCatalogItemsQuery =
CatalogModel (1)
Model.cs (1)
15private static readonly Func<CatalogDbContext, int?, int?, int?, int, IAsyncEnumerable<CatalogItem>> s_getCatalogItemsQuery =
Microsoft.AspNetCore.SignalR.Client.Core (3)
HubConnectionExtensions.cs (1)
320public static IDisposable On<T1, T2, T3, T4, T5>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, T4, T5, Task> handler)
HubConnectionExtensions.OnResult.cs (2)
174public static IDisposable On<T1, T2, T3, T4, T5, TResult>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, T4, T5, TResult> handler) 354public static IDisposable On<T1, T2, T3, T4, T5, TResult>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, T4, T5, Task<TResult>> handler)
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (1)
915Func<Solution, ProjectId, ProjectUpdateState, TReference, TReference, (Solution newSolution, ProjectUpdateState newProjectUpdateState)> update,
Microsoft.Extensions.Logging.Abstractions (1)
LoggerMessage.cs (1)
81public static Func<ILogger, T1, T2, T3, T4, IDisposable?> DefineScope<T1, T2, T3, T4>(string formatString)
Microsoft.Extensions.Options (8)
AsyncValidateOptions.cs (2)
219public AsyncValidateOptions(string? name, TDep1 dependency1, TDep2 dependency2, TDep3 dependency3, Func<TOptions, TDep1, TDep2, TDep3, CancellationToken, Task<bool>> validation, string failureMessage) 254public Func<TOptions, TDep1, TDep2, TDep3, CancellationToken, Task<bool>> Validation { get; }
OptionsBuilder.cs (4)
490public virtual OptionsBuilder<TOptions> Validate<TDep1, TDep2, TDep3, TDep4>(Func<TOptions, TDep1, TDep2, TDep3, TDep4, bool> validation) 507public virtual OptionsBuilder<TOptions> Validate<TDep1, TDep2, TDep3, TDep4>(Func<TOptions, TDep1, TDep2, TDep3, TDep4, bool> validation, string failureMessage) 666public virtual OptionsBuilder<TOptions> Validate<TDep1, TDep2, TDep3>(Func<TOptions, TDep1, TDep2, TDep3, CancellationToken, Task<bool>> validation) 681public virtual OptionsBuilder<TOptions> Validate<TDep1, TDep2, TDep3>(Func<TOptions, TDep1, TDep2, TDep3, CancellationToken, Task<bool>> validation, string failureMessage)
ValidateOptions.cs (2)
312public ValidateOptions(string? name, TDep1 dependency1, TDep2 dependency2, TDep3 dependency3, TDep4 dependency4, Func<TOptions, TDep1, TDep2, TDep3, TDep4, bool> validation, string failureMessage) 333public Func<TOptions, TDep1, TDep2, TDep3, TDep4, bool> Validation { get; }
Microsoft.ML.Core (1)
Utilities\Utils.cs (1)
1125public static TRet MarshalInvoke<TArg1, TArg2, TArg3, TArg4, TArg5, TRet>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TRet> func,
Microsoft.ML.Data (4)
Commands\CrossValidationCommand.cs (4)
364private readonly Func<IHostEnvironment, IChannel, IDataView, RoleMappedData, IDataView, RoleMappedData> _applyTransformsToTestData; 366private readonly Func<IHostEnvironment, IChannel, IDataView, RoleMappedData, IDataView, RoleMappedData> _applyTransformsToValidationData; 391Func<IHostEnvironment, IChannel, IDataView, RoleMappedData, IDataView, RoleMappedData> applyTransformsToTestData, 395Func<IHostEnvironment, IChannel, IDataView, RoleMappedData, IDataView, RoleMappedData> applyTransformsToValidationData = null,
Microsoft.ML.Transforms (5)
Expression\CodeGen.cs (1)
58{ typeFn = typeof(Func<,,,,,>); break; }
ExpressionTransformer.cs (4)
541var fn = (Func<T0, T1, T2, T3, T4, TDst>)del; 861var fn = (Func<T0, T1, T2, T3, T4, TDst>)del;
Microsoft.NET.Build.Containers (3)
LocalDaemons\ArchiveFileRegistry.cs (1)
22Func<T, SourceImageReference, DestinationImageReference, Stream, CancellationToken, Task> writeStreamFunc)
LocalDaemons\ContainerRuntimeOperations.cs (2)
39Func<T, SourceImageReference, DestinationImageReference, Stream, CancellationToken, Task> writeStreamFunc, 92Func<T, SourceImageReference, DestinationImageReference, Stream, CancellationToken, Task> writeStreamFunc,
Microsoft.VisualBasic.Core (2)
Microsoft\VisualBasic\CompilerServices\IDOBinder.vb (2)
1430Dim c As CallSite(Of Func(Of CallSite, Object, Object, Object, Object, Object)) = 1431CallSite(Of Func(Of CallSite, Object, Object, Object, Object, Object)).Create(action)
mscorlib (1)
src\runtime\src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
239[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Func<,,,,,>))]
netstandard (1)
netstandard.cs (1)
807[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Func<,,,,,>))]
System.Linq.Expressions (4)
System\Dynamic\UpdateDelegates.Generated.cs (3)
457var @this = (CallSite<Func<CallSite, T0, T1, T2, T3, TRet>>)site; 458Func<CallSite, T0, T1, T2, T3, TRet>[] applicable; 459Func<CallSite, T0, T1, T2, T3, TRet> rule, originalRule = @this.Target;
System\Linq\Expressions\Compiler\DelegateHelpers.Generated.cs (1)
203return typeof(Func<,,,,,>).MakeGenericType(types);
System.Private.CoreLib (7)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory_T.cs (3)
1078Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod, 1120Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod, 1129internal static Task<TResult> FromAsyncImpl<TArg1, TArg2, TArg3>(Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs (4)
1082Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod, 1125Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod, 1451Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod, 1495Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod,
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
207[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Func<,,,,,>))]