29 references to Func
Aspire.Cli.Tests (5)
Commands\AppHostLauncherTests.cs (1)
1295public Func<string, IReadOnlyList<string>, string, Func<string, bool>?, IReadOnlyDictionary<string, string>?, CancellationToken, Task<IProcessExecution>>? StartHandler { get; set; }
TestServices\FakeNuGetPackageCache.cs (1)
14public Func<DirectoryInfo, string, bool, FileInfo?, bool, CancellationToken, Task<IEnumerable<NuGetPackage>>>? GetPackageVersionsAsyncCallback { get; set; }
TestServices\TestDotNetCliRunner.cs (2)
20public Func<FileInfo, string[], string[], string[], ProcessInvocationOptions, CancellationToken, Task<(int ExitCode, JsonDocument? Output)>>? GetProjectItemsAndPropertiesAsyncCallbackWithTargetsAsync { get; set; } 21public Func<FileInfo, string[], string[], string[], ProcessInvocationOptions, CancellationToken, (int ExitCode, JsonDocument? Output)>? GetProjectItemsAndPropertiesAsyncCallbackWithTargets { get; set; }
TestServices\TestExtensionInteractionService.cs (1)
27public Func<string, Func<string, ValidationResult>?, bool, bool, PromptBinding<string?>?, CancellationToken, Task<string>>? PromptForStringCallback { get; set; }
Microsoft.AspNetCore.SignalR.Client.Core (3)
HubConnectionExtensions.cs (1)
342public static IDisposable On<T1, T2, T3, T4, T5, T6>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, T4, T5, T6, Task> handler)
HubConnectionExtensions.OnResult.cs (2)
198public static IDisposable On<T1, T2, T3, T4, T5, T6, TResult>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, T4, T5, T6, TResult> handler) 378public static IDisposable On<T1, T2, T3, T4, T5, T6, TResult>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, T4, T5, T6, Task<TResult>> handler)
Microsoft.Extensions.Logging.Abstractions (1)
LoggerMessage.cs (1)
98public static Func<ILogger, T1, T2, T3, T4, T5, IDisposable?> DefineScope<T1, T2, T3, T4, T5>(string formatString)
Microsoft.Extensions.Options (8)
AsyncValidateOptions.cs (2)
391public AsyncValidateOptions(string? name, TDep1 dependency1, TDep2 dependency2, TDep3 dependency3, TDep4 dependency4, Func<TOptions, TDep1, TDep2, TDep3, TDep4, CancellationToken, Task<bool>> validation, string failureMessage) 432public Func<TOptions, TDep1, TDep2, TDep3, TDep4, CancellationToken, Task<bool>> Validation { get; }
OptionsBuilder.cs (4)
548public virtual OptionsBuilder<TOptions> Validate<TDep1, TDep2, TDep3, TDep4, TDep5>(Func<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5, bool> validation) 567public virtual OptionsBuilder<TOptions> Validate<TDep1, TDep2, TDep3, TDep4, TDep5>(Func<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5, bool> validation, string failureMessage) 726public virtual OptionsBuilder<TOptions> Validate<TDep1, TDep2, TDep3, TDep4>(Func<TOptions, TDep1, TDep2, TDep3, TDep4, CancellationToken, Task<bool>> validation) 743public virtual OptionsBuilder<TOptions> Validate<TDep1, TDep2, TDep3, TDep4>(Func<TOptions, TDep1, TDep2, TDep3, TDep4, CancellationToken, Task<bool>> validation, string failureMessage)
ValidateOptions.cs (2)
405public ValidateOptions(string? name, TDep1 dependency1, TDep2 dependency2, TDep3 dependency3, TDep4 dependency4, TDep5 dependency5, Func<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5, bool> validation, string failureMessage) 427public Func<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5, bool> Validation { get; }
Microsoft.ML.Core (1)
Utilities\Utils.cs (1)
1135public static TRet MarshalInvoke<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TRet>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TRet> func,
Microsoft.ML.Data (1)
DataView\LambdaFilter.cs (1)
62Func<IHostEnvironment, string, IDataView, int,
Microsoft.ML.Transforms (1)
ExpressionTransformer.cs (1)
568Func<IExceptionContext, DataViewRow, DataViewSchema.Column[], int[], Delegate, DataViewType, ValueGetter<VBuffer<int>>> d;
Microsoft.VisualBasic.Core (2)
Microsoft\VisualBasic\CompilerServices\IDOBinder.vb (2)
1434Dim c As CallSite(Of Func(Of CallSite, Object, Object, Object, Object, Object, Object)) = 1435CallSite(Of Func(Of CallSite, Object, Object, Object, Object, Object, Object)).Create(action)
mscorlib (1)
src\runtime\src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
240[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Func<,,,,,,>))]
netstandard (1)
netstandard.cs (1)
808[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Func<,,,,,,>))]
System.Linq.Expressions (4)
System\Dynamic\UpdateDelegates.Generated.cs (3)
603var @this = (CallSite<Func<CallSite, T0, T1, T2, T3, T4, TRet>>)site; 604Func<CallSite, T0, T1, T2, T3, T4, TRet>[] applicable; 605Func<CallSite, T0, T1, T2, T3, T4, TRet> rule, originalRule = @this.Target;
System\Linq\Expressions\Compiler\DelegateHelpers.Generated.cs (1)
205return typeof(Func<,,,,,,>).MakeGenericType(types);
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
208[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Func<,,,,,,>))]