29 references to Func
Aspire.Cli.Tests (5)
Commands\AppHostLauncherTests.cs (1)
1295
public
Func
<string, IReadOnlyList<string>, string, Func<string, bool>?, IReadOnlyDictionary<string, string>?, CancellationToken, Task<IProcessExecution>>? StartHandler { get; set; }
TestServices\FakeNuGetPackageCache.cs (1)
14
public
Func
<DirectoryInfo, string, bool, FileInfo?, bool, CancellationToken, Task<IEnumerable<NuGetPackage>>>? GetPackageVersionsAsyncCallback { get; set; }
TestServices\TestDotNetCliRunner.cs (2)
20
public
Func
<FileInfo, string[], string[], string[], ProcessInvocationOptions, CancellationToken, Task<(int ExitCode, JsonDocument? Output)>>? GetProjectItemsAndPropertiesAsyncCallbackWithTargetsAsync { get; set; }
21
public
Func
<FileInfo, string[], string[], string[], ProcessInvocationOptions, CancellationToken, (int ExitCode, JsonDocument? Output)>? GetProjectItemsAndPropertiesAsyncCallbackWithTargets { get; set; }
TestServices\TestExtensionInteractionService.cs (1)
27
public
Func
<string, Func<string, ValidationResult>?, bool, bool, PromptBinding<string?>?, CancellationToken, Task<string>>? PromptForStringCallback { get; set; }
Microsoft.AspNetCore.SignalR.Client.Core (3)
HubConnectionExtensions.cs (1)
342
public 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)
198
public static IDisposable On<T1, T2, T3, T4, T5, T6, TResult>(this HubConnection hubConnection, string methodName,
Func
<T1, T2, T3, T4, T5, T6, TResult> handler)
378
public 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)
98
public static
Func
<ILogger, T1, T2, T3, T4, T5, IDisposable?> DefineScope<T1, T2, T3, T4, T5>(string formatString)
Microsoft.Extensions.Options (8)
AsyncValidateOptions.cs (2)
391
public AsyncValidateOptions(string? name, TDep1 dependency1, TDep2 dependency2, TDep3 dependency3, TDep4 dependency4,
Func
<TOptions, TDep1, TDep2, TDep3, TDep4, CancellationToken, Task<bool>> validation, string failureMessage)
432
public
Func
<TOptions, TDep1, TDep2, TDep3, TDep4, CancellationToken, Task<bool>> Validation { get; }
OptionsBuilder.cs (4)
548
public virtual OptionsBuilder<TOptions> Validate<TDep1, TDep2, TDep3, TDep4, TDep5>(
Func
<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5, bool> validation)
567
public virtual OptionsBuilder<TOptions> Validate<TDep1, TDep2, TDep3, TDep4, TDep5>(
Func
<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5, bool> validation, string failureMessage)
726
public virtual OptionsBuilder<TOptions> Validate<TDep1, TDep2, TDep3, TDep4>(
Func
<TOptions, TDep1, TDep2, TDep3, TDep4, CancellationToken, Task<bool>> validation)
743
public virtual OptionsBuilder<TOptions> Validate<TDep1, TDep2, TDep3, TDep4>(
Func
<TOptions, TDep1, TDep2, TDep3, TDep4, CancellationToken, Task<bool>> validation, string failureMessage)
ValidateOptions.cs (2)
405
public ValidateOptions(string? name, TDep1 dependency1, TDep2 dependency2, TDep3 dependency3, TDep4 dependency4, TDep5 dependency5,
Func
<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5, bool> validation, string failureMessage)
427
public
Func
<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5, bool> Validation { get; }
Microsoft.ML.Core (1)
Utilities\Utils.cs (1)
1135
public 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)
62
Func
<IHostEnvironment, string, IDataView, int,
Microsoft.ML.Transforms (1)
ExpressionTransformer.cs (1)
568
Func
<IExceptionContext, DataViewRow, DataViewSchema.Column[], int[], Delegate, DataViewType, ValueGetter<VBuffer<int>>> d;
Microsoft.VisualBasic.Core (2)
Microsoft\VisualBasic\CompilerServices\IDOBinder.vb (2)
1434
Dim c As CallSite(Of
Func
(Of CallSite, Object, Object, Object, Object, Object, Object)) =
1435
CallSite(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)
603
var @this = (CallSite<
Func
<CallSite, T0, T1, T2, T3, T4, TRet>>)site;
604
Func
<CallSite, T0, T1, T2, T3, T4, TRet>[] applicable;
605
Func
<CallSite, T0, T1, T2, T3, T4, TRet> rule, originalRule = @this.Target;
System\Linq\Expressions\Compiler\DelegateHelpers.Generated.cs (1)
205
return 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
<,,,,,,>))]