49 references to Func
Aspire.Cli.Tests (3)
TestServices\TestDotNetCliRunner.cs (3)
12public Func<FileInfo, string, string, DotNetCliRunnerInvocationOptions, CancellationToken, int>? AddPackageAsyncCallback { get; set; }
16public Func<FileInfo, string[], string[], DotNetCliRunnerInvocationOptions, CancellationToken, (int ExitCode, JsonDocument? Output)>? GetProjectItemsAndPropertiesAsyncCallback { get; set; }
18public Func<string, string, string, DotNetCliRunnerInvocationOptions, CancellationToken, int>? NewProjectAsyncCallback { get; set; }
CatalogDb (1)
CatalogModel (1)
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.Build.Utilities.UnitTests (1)
Microsoft.CodeAnalysis.EditorFeatures (1)
Microsoft.CodeAnalysis.UnitTests (2)
Collections\IndexOfTests.cs (2)
27Func<TCollection, int, int, int, IEqualityComparer<int>?, int> indexOfItemIndexCountEQ)
97Func<TCollection, int, int, int, IEqualityComparer<int>?, int> lastIndexOfItemIndexCountEQ)
Microsoft.CodeAnalysis.Workspaces (1)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Microsoft.DotNet.RemoteExecutor (3)
RemoteExecutor.cs (3)
250public static RemoteInvokeHandle Invoke(Func<string, string, string, string, string, Task<int>> method, string arg1,
318public static RemoteInvokeHandle Invoke(Func<string, string, string, string, string, Task> method, string arg1,
386public static RemoteInvokeHandle Invoke(Func<string, string, string, string, string, int> method,
Microsoft.Extensions.Logging.Abstractions (1)
Microsoft.Extensions.Options (4)
OptionsBuilder.cs (2)
469public virtual OptionsBuilder<TOptions> Validate<TDep1, TDep2, TDep3, TDep4>(Func<TOptions, TDep1, TDep2, TDep3, TDep4, bool> validation)
486public virtual OptionsBuilder<TOptions> Validate<TDep1, TDep2, TDep3, TDep4>(Func<TOptions, TDep1, TDep2, TDep3, TDep4, 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)
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)
netstandard (1)
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.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs (3)
1075Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod,
1117Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod,
1126internal static Task<TResult> FromAsyncImpl<TArg1, TArg2, TArg3>(Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod,
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)
System.Xaml.Tests (1)
Common\Optional.cs (1)
24public readonly T Or<TArg1, TArg2, TArg3, TArg4, TArg5>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, T> valueFactory, TArg1 arg1, TArg2 arg2, TArg3 arg3, TArg4 arg4, TArg5 arg5) => HasValue ? Value : valueFactory(arg1, arg2, arg3, arg4, arg5);