93 references to Func
mscorlib (28)
system\Collections\Concurrent\ConcurrentDictionary.cs (1)
1144TKey key, Func<TKey, TArg, TValue> addValueFactory, Func<TKey, TValue, TArg, TValue> updateValueFactory, TArg factoryArgument)
system\threading\Tasks\FutureFactory.cs (3)
906Func<TArg1, AsyncCallback, object, IAsyncResult> beginMethod, 940Func<TArg1, AsyncCallback, object, IAsyncResult> beginMethod, 949internal static Task<TResult> FromAsyncImpl<TArg1>(Func<TArg1, AsyncCallback, object, IAsyncResult> beginMethod,
system\threading\Tasks\Parallel.cs (14)
771Func<int, ParallelLoopState, TLocal, TLocal> body, 833Func<long, ParallelLoopState, TLocal, TLocal> body, 906Func<int, ParallelLoopState, TLocal, TLocal> body, 983Func<long, ParallelLoopState, TLocal, TLocal> body, 1039Func<int, ParallelLoopState, TLocal, TLocal> bodyWithLocal, 1354Func<long, ParallelLoopState, TLocal, TLocal> bodyWithLocal, 1943Func<TSource, ParallelLoopState, TLocal, TLocal> body, Action<TLocal> localFinally) 2020Func<TSource, ParallelLoopState, TLocal, TLocal> body, Action<TLocal> localFinally) 2221Func<TSource, ParallelLoopState, TLocal, TLocal> bodyWithStateAndLocal, 2285Func<TSource, ParallelLoopState, TLocal, TLocal> bodyWithStateAndLocal, 2344Func<TSource, ParallelLoopState, TLocal, TLocal> bodyWithStateAndLocal, 2627Func<TSource, ParallelLoopState, TLocal, TLocal> body, 3052Func<TSource, ParallelLoopState, TLocal, TLocal> body, 3197Func<TSource, ParallelLoopState, TLocal, TLocal> bodyWithStateAndLocal,
system\threading\Tasks\TaskFactory.cs (4)
1016Func<TArg1, AsyncCallback, object, IAsyncResult> beginMethod, 1052Func<TArg1, AsyncCallback, object, IAsyncResult> beginMethod, 1390Func<TArg1, AsyncCallback, object, IAsyncResult> beginMethod, 1425public Task<TResult> FromAsync<TArg1, TResult>(Func<TArg1, AsyncCallback, object, IAsyncResult> beginMethod,
system\type.cs (3)
113Func<Assembly, string, bool, Type> typeResolver) 123Func<Assembly, string, bool, Type> typeResolver, 134Func<Assembly, string, bool, Type> typeResolver,
system\typenameparser.cs (3)
80Func<Assembly, string, bool, Type> typeResolver, 133Func<Assembly, string, bool, Type> typeResolver, 247private static Type ResolveType(Assembly assembly, string[] names, Func<Assembly, string, bool, Type> typeResolver, bool throwOnError, bool ignoreCase, ref StackCrawlMark stackMark)
System (1)
net\System\Net\WebSockets\WebSocketConnectionStream.cs (1)
458private static readonly Func<IList<ArraySegment<byte>>, AsyncCallback, object, IAsyncResult> s_BeginMultipleWrite =
System.Activities (11)
System\Activities\WorkflowApplication.cs (11)
4900public Func<IAsyncResult, WorkflowApplication, bool, bool> NextCallback 4927Func<IAsyncResult, WorkflowApplication, bool, bool> stage1Callback; 4928Func<IAsyncResult, WorkflowApplication, bool, bool> stage2Callback; 4934Func<IAsyncResult, WorkflowApplication, bool, bool> Stage1Callback 4947Func<IAsyncResult, WorkflowApplication, bool, bool> Stage2Callback 5065Func<IAsyncResult, WorkflowApplication, bool, bool> stage1Callback; 5066Func<IAsyncResult, WorkflowApplication, bool, bool> stage2Callback; 5072Func<IAsyncResult, WorkflowApplication, bool, bool> Stage1Callback 5085Func<IAsyncResult, WorkflowApplication, bool, bool> Stage2Callback 5206Func<IAsyncResult, WorkflowApplication, bool, bool> stage1Callback; 5212Func<IAsyncResult, WorkflowApplication, bool, bool> Stage1Callback
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
717public Func<DesignObjectWrapper, object, List<string>, bool> PropertyValidator { get; set; }
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (1)
60Func<double, double, double, bool> IsGreater;
System.Core (6)
Microsoft\Scripting\Actions\UpdateDelegates.Generated.cs (3)
294var @this = (CallSite<Func<CallSite, T0, T1, TRet>>)site; 295Func<CallSite, T0, T1, TRet>[] applicable; 296Func<CallSite, T0, T1, TRet> rule, originalRule = @this.Target;
Microsoft\Scripting\Compiler\DelegateHelpers.Generated.cs (1)
237case 4: return typeof(Func<,,,>).MakeGenericType(types);
System\FuncAndAction.cs (1)
15[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Func<,,,>))]
System\Linq\IQueryable.cs (1)
53private static MethodInfo GetMethodInfo<T1, T2, T3, T4>(Func<T1, T2, T3, T4> f, T1 unused1, T2 unused2, T3 unused3) {
System.Data (7)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
717public Func<DesignObjectWrapper, object, List<string>, bool> PropertyValidator { get; set; }
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (1)
60Func<double, double, double, bool> IsGreater;
fx\src\data\System\Data\SqlClient\SqlCommand.cs (1)
2198private bool TriggerInternalEndAndRetryIfNecessary(CommandBehavior behavior, object stateObject, int timeout, string endMethod, bool usedCache, bool inRetry, bool asyncWrite, TaskCompletionSource<object> globalCompletion, TaskCompletionSource<object> localCompletion, Func<IAsyncResult, string, bool, object> endFunc, Func<CommandBehavior, AsyncCallback, object, int, bool, bool, IAsyncResult> retryFunc) {
fx\src\data\System\Data\SQLTypes\SqlXml.cs (4)
47private readonly static Func<Stream, XmlReaderSettings, XmlParserContext, XmlReader> sqlReaderDelegate = CreateSqlReaderDelegate(); 131private static Func<Stream, XmlReaderSettings, XmlParserContext, XmlReader> CreateSqlReaderDelegate() 134return (Func<Stream, XmlReaderSettings, XmlParserContext, XmlReader>)Delegate.CreateDelegate(typeof(Func<Stream, XmlReaderSettings, XmlParserContext, XmlReader>), CreateSqlReaderMethodInfo);
System.Data.Entity (13)
System\Data\Common\CommandTrees\DbLambda.cs (1)
144public static DbLambda Create(TypeUsage argument1Type, TypeUsage argument2Type, TypeUsage argument3Type, Func<DbExpression, DbExpression, DbExpression, DbExpression> lambdaFunction)
System\Data\Common\EntitySql\CqlErrorHelper.cs (5)
38Func<object, object, object, string> formatString; 42(Func<object, object, object, string>)System.Data.Entity.Strings.NoCanonicalAggrFunctionOverloadMatch : 43(Func<object, object, object, string>)System.Data.Entity.Strings.NoAggrFunctionOverloadMatch; 48(Func<object, object, object, string>)System.Data.Entity.Strings.NoCanonicalFunctionOverloadMatch : 49(Func<object, object, object, string>)System.Data.Entity.Strings.NoFunctionOverloadMatch;
System\Data\EntityModel\SchemaObjectModel\Schema.cs (1)
167Func<object, object, object, string> messageFormat = Strings.UnexpectedRootElement;
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (1)
459Func<object, object, object, string> formatAssociationSetMessage, ViewGenErrorCode errorCode)
System\Data\Objects\CompiledQuery.cs (2)
344public static Func<TArg0, TArg1, TArg2, TResult> Compile<TArg0, TArg1, TArg2, TResult>(Expression<Func<TArg0, TArg1, TArg2, TResult>> query) where TArg0 : ObjectContext
System\Data\Objects\ELinq\TypeSystem.cs (1)
69case 3: delegateType = typeof(Func<,,,>); break;
System\Data\SqlClient\SqlGen\SqlFunctionCallHandler.cs (1)
1678private static ISqlFragment WrapPredicate(Func<SqlGenerator, IList<DbExpression>, SqlBuilder, SqlBuilder> predicateTranslator, SqlGenerator sqlgen, DbFunctionExpression e)
System\Data\SqlClient\SqlSpatialServices.cs (1)
216private static TValue CreateWellKnownValue<TValue>(IDbSpatialValue spatialValue, Func<Exception> onMissingSrid, Func<Exception> onMissingWkbAndWkt, Func<int, byte[], string, TValue> onValidValue)
System.Data.Linq (2)
CompiledQuery.cs (2)
61public static Func<TArg0, TArg1, TArg2, TResult> Compile<TArg0, TArg1, TArg2, TResult>(Expression<Func<TArg0, TArg1, TArg2, TResult>> query) where TArg0 : DataContext {
System.Data.Services.Client (12)
System\Data\Services\Client\ALinq\ResourceBinder.cs (2)
1074private static Expression AnalyzeResourceSetMethod(MethodCallExpression mce, Func<MethodCallExpression, ResourceSetExpression, Expression, Expression> sequenceMethodAnalyzer) 1094private static Expression AnalyzeResourceSetConstantMethod(MethodCallExpression mce, Func<MethodCallExpression, ResourceExpression, ConstantExpression, Expression> constantMethodAnalyzer)
System\Data\Services\Client\AtomMaterializer.cs (4)
96Func<object, object, Type, object> selector) 128Func<object, object, Type, object>[] propertyValues) 554Func<object, object, Type, object> selector) 635Func<object, object, Type, object>[] propertyValues)
System\Data\Services\Client\ProjectionPlan.cs (1)
48internal Func<object, object, Type, object> Plan
System\Data\Services\Client\ProjectionPlanCompiler.cs (5)
100result.Plan = (Func<object, object, Type, object>)((LambdaExpression)plan).Compile(); 371result = Expression.Lambda<Func<object, object, Type, object>>( 540List<Func<object, object, Type, object>> propertyFunctions = new List<Func<object, object, Type, object>>(); 687propertyFunctions.Add((Func<object, object, Type, object>) propertyLambda.Compile());
System.ServiceModel (7)
System\ServiceModel\Channels\ServiceChannelProxy.cs (7)
213static Func<ServiceChannel, ProxyOperationRuntime, object[], Task> GetOrCreateTaskDelegate(Type taskResultType) 215Func<ServiceChannel, ProxyOperationRuntime, object[], Task> createTaskDelegate = createGenericTaskDelegateCache[taskResultType] as Func<ServiceChannel, ProxyOperationRuntime, object[], Task>; 223createTaskDelegate = createGenericTaskDelegateCache[taskResultType] as Func<ServiceChannel, ProxyOperationRuntime, object[], Task>; 230createTaskDelegate = Delegate.CreateDelegate(typeof(Func<ServiceChannel, ProxyOperationRuntime, object[], Task>), methodInfo) as Func<ServiceChannel, ProxyOperationRuntime, object[], Task>; 248Func<ServiceChannel, ProxyOperationRuntime, object[], Task> createTaskDelegate = GetOrCreateTaskDelegate(operation.TaskTResult);
System.Web (3)
HttpApplication.cs (1)
3553var beginProcessRequestDelegate = AppVerifier.WrapBeginMethod<HttpContext>(_application, asyncHandler.BeginProcessRequest);
Util\AppVerifier.cs (2)
144public static Func<T, AsyncCallback, object, IAsyncResult> WrapBeginMethod<T>(HttpApplication httpApplication, Func<T, AsyncCallback, object, IAsyncResult> originalDelegate) {
System.Web.Extensions (1)
UI\WebControls\Dynamic.cs (1)
168typeof(Func<,,,>),