1313 references to Func
mscorlib (130)
parent\parent\parent\parent\InternalApis\NDP_Common\inc\PinnableBufferCache.cs (3)
499public static void Register(Func<object, bool> callback, object targetObj) 508private Func<object, bool> m_callback; 512private void Setup(Func<object, bool> callback, object targetObj)
system\AggregateException.cs (1)
352public void Handle(Func<Exception, bool> predicate)
system\Collections\Concurrent\ConcurrentDictionary.cs (2)
1059public TValue GetOrAdd(TKey key, Func<TKey, TValue> valueFactory) 1193public TValue AddOrUpdate(TKey key, Func<TKey, TValue> addValueFactory, Func<TKey, TValue, TValue> updateValueFactory)
system\io\stream.cs (1)
632Func<object,int> function, object state,
system\io\textreader.cs (2)
50private static Func<object, string> _ReadLineDelegate = state => ((TextReader)state).ReadLine(); 53private static Func<object, int> _ReadDelegate = state =>
system\resources\resourcewriter.cs (2)
49private Func<Type, String> typeConverter; 52public Func<Type, String> TypeNameConverter
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (3)
31public static void AddEventHandler<T>(Func<T, EventRegistrationToken> addMethod, 228internal static void AddEventHandler<T>(Func<T, EventRegistrationToken> addMethod, 558internal static void AddEventHandler<T>(Func<T, EventRegistrationToken> addMethod,
system\runtime\versioning\multitargetinghelpers.cs (2)
30private static Func<Type, String> defaultConverter = (t) => t.AssemblyQualifiedName; 34internal static string GetAssemblyQualifiedName(Type type, Func<Type, String> converter)
system\security\claims\ClaimsPrincipal.cs (2)
76static Func<IEnumerable<ClaimsIdentity>, ClaimsIdentity> s_identitySelector = SelectPrimaryIdentity; 135public static Func<IEnumerable<ClaimsIdentity>, ClaimsIdentity> PrimaryIdentitySelector
system\threading\Tasks\ConcurrentExclusiveSchedulerPair.cs (1)
493private static readonly Func<object, bool> s_tryExecuteTaskShim = new Func<object, bool>(TryExecuteTaskShim);
system\threading\Tasks\Future.cs (15)
87internal static readonly Func<Task<Task>, Task<TResult>> TaskWhenAnyCast = completed => (Task<TResult>)completed.Result; 236public Task(Func<object, TResult> function, object state) 260public Task(Func<object, TResult> function, object state, CancellationToken cancellationToken) 288public Task(Func<object, TResult> function, object state, TaskCreationOptions creationOptions) 321public Task(Func<object, TResult> function, object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions) 361Func<object, TResult> valueSelector, object state, Task parent, CancellationToken cancellationToken, 417internal static Task<TResult> StartNew(Task parent, Func<object, TResult> function, object state, CancellationToken cancellationToken, 683var funcWithState = m_action as Func<object, TResult>; 1142public Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, TNewResult> continuationFunction) 1173public Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, TNewResult> continuationFunction, CancellationToken cancellationToken) 1205public Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, TNewResult> continuationFunction, TaskScheduler scheduler) 1249public Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, TNewResult> continuationFunction, TaskContinuationOptions continuationOptions) 1304public Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, TNewResult> continuationFunction, CancellationToken cancellationToken, 1312internal Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, TNewResult> continuationFunction, TaskScheduler scheduler,
system\threading\Tasks\FutureFactory.cs (47)
413public Task<TResult> StartNew(Func<Object, TResult> function, Object state) 444public Task<TResult> StartNew(Func<Object, TResult> function, Object state, CancellationToken cancellationToken) 477public Task<TResult> StartNew(Func<Object, TResult> function, Object state, TaskCreationOptions creationOptions) 521public Task<TResult> StartNew(Func<Object, TResult> function, Object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskScheduler scheduler) 535Func<IAsyncResult, TResult> endFunction, 611public Task<TResult> FromAsync(IAsyncResult asyncResult, Func<IAsyncResult, TResult> endMethod) 639Func<IAsyncResult, TResult> endMethod, 674Func<IAsyncResult, TResult> endMethod, 687Func<IAsyncResult, TResult> endFunction, 776Func<IAsyncResult, TResult> endMethod, object state) 805Func<IAsyncResult, TResult> endMethod, object state, TaskCreationOptions creationOptions) 813Func<IAsyncResult, TResult> endFunction, Action<IAsyncResult> endAction, 907Func<IAsyncResult, TResult> endMethod, 941Func<IAsyncResult, TResult> endMethod, 950Func<IAsyncResult, TResult> endFunction, Action<IAsyncResult> endAction, 1048Func<IAsyncResult, TResult> endMethod, 1086Func<IAsyncResult, TResult> endMethod, 1095Func<IAsyncResult, TResult> endFunction, Action<IAsyncResult> endAction, 1196Func<IAsyncResult, TResult> endMethod, 1238Func<IAsyncResult, TResult> endMethod, 1247Func<IAsyncResult, TResult> endFunction, Action<IAsyncResult> endAction, 1495public Task<TResult> ContinueWhenAll(Task[] tasks, Func<Task[], TResult> continuationFunction) 1526public Task<TResult> ContinueWhenAll(Task[] tasks, Func<Task[], TResult> continuationFunction, CancellationToken cancellationToken) 1563public Task<TResult> ContinueWhenAll(Task[] tasks, Func<Task[], TResult> continuationFunction, TaskContinuationOptions continuationOptions) 1610public Task<TResult> ContinueWhenAll(Task[] tasks, Func<Task[], TResult> continuationFunction, 1638public Task<TResult> ContinueWhenAll<TAntecedentResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>[], TResult> continuationFunction) 1670public Task<TResult> ContinueWhenAll<TAntecedentResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>[], TResult> continuationFunction, 1709public Task<TResult> ContinueWhenAll<TAntecedentResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>[], TResult> continuationFunction, 1758public Task<TResult> ContinueWhenAll<TAntecedentResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>[], TResult> continuationFunction, 1772Func<Task<TAntecedentResult>[], TResult> continuationFunction, Action<Task<TAntecedentResult>[]> continuationAction, 1819Func<Task[], TResult> continuationFunction, Action<Task[]> continuationAction, 1854return ((Func<Task[], TResult>)state)(completedTasks.Result); 1895public Task<TResult> ContinueWhenAny(Task[] tasks, Func<Task, TResult> continuationFunction) 1926public Task<TResult> ContinueWhenAny(Task[] tasks, Func<Task, TResult> continuationFunction, CancellationToken cancellationToken) 1963public Task<TResult> ContinueWhenAny(Task[] tasks, Func<Task, TResult> continuationFunction, TaskContinuationOptions continuationOptions) 2010public Task<TResult> ContinueWhenAny(Task[] tasks, Func<Task, TResult> continuationFunction, 2038public Task<TResult> ContinueWhenAny<TAntecedentResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>, TResult> continuationFunction) 2070public Task<TResult> ContinueWhenAny<TAntecedentResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>, TResult> continuationFunction, 2109public Task<TResult> ContinueWhenAny<TAntecedentResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>, TResult> continuationFunction, 2158public Task<TResult> ContinueWhenAny<TAntecedentResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>, TResult> continuationFunction, 2171Func<Task, TResult> continuationFunction, Action<Task> continuationAction, 2201(completedTask, state) => { return ((Func<Task, TResult>)state)(completedTask.Result); }, 2219Func<Task<TAntecedentResult>, TResult> continuationFunction, Action<Task<TAntecedentResult>> continuationAction, 2270var func = (Func<Task<TAntecedentResult>, TResult>)state; 2290var func = (Func<Task<TAntecedentResult>[], TResult>)state;
system\threading\Tasks\Task.cs (6)
4155public Task<TResult> ContinueWith<TResult>(Func<Task, TResult> continuationFunction) 4187public Task<TResult> ContinueWith<TResult>(Func<Task, TResult> continuationFunction, CancellationToken cancellationToken) 4219public Task<TResult> ContinueWith<TResult>(Func<Task, TResult> continuationFunction, TaskScheduler scheduler) 4257public Task<TResult> ContinueWith<TResult>(Func<Task, TResult> continuationFunction, TaskContinuationOptions continuationOptions) 4305public Task<TResult> ContinueWith<TResult>(Func<Task, TResult> continuationFunction, CancellationToken cancellationToken, 4313private Task<TResult> ContinueWith<TResult>(Func<Task, TResult> continuationFunction, TaskScheduler scheduler,
system\threading\Tasks\TaskContinuation.cs (6)
85Contract.Requires(function is Func<Task, TResult> || function is Func<Task, object, TResult>, 108var func = m_action as Func<Task, TResult>; 181Contract.Requires(function is Func<Task<TAntecedentResult>, TResult> || function is Func<Task<TAntecedentResult>, object, TResult>, 204var func = m_action as Func<Task<TAntecedentResult>, TResult>;
system\threading\Tasks\TaskFactory.cs (31)
711public Task<TResult> StartNew<TResult>(Func<Object, TResult> function, Object state) 746public Task<TResult> StartNew<TResult>(Func<Object, TResult> function, Object state, CancellationToken cancellationToken) 782public Task<TResult> StartNew<TResult>(Func<Object, TResult> function, Object state, TaskCreationOptions creationOptions) 829public Task<TResult> StartNew<TResult>(Func<Object, TResult> function, Object state, CancellationToken cancellationToken, 1236IAsyncResult asyncResult, Func<IAsyncResult, TResult> endMethod) 1266IAsyncResult asyncResult, Func<IAsyncResult, TResult> endMethod, TaskCreationOptions creationOptions) 1300IAsyncResult asyncResult, Func<IAsyncResult, TResult> endMethod, TaskCreationOptions creationOptions, TaskScheduler scheduler) 1328Func<IAsyncResult, TResult> endMethod, object state) 1360Func<IAsyncResult, TResult> endMethod, object state, TaskCreationOptions creationOptions) 1391Func<IAsyncResult, TResult> endMethod, TArg1 arg1, object state) 1426Func<IAsyncResult, TResult> endMethod, TArg1 arg1, object state, TaskCreationOptions creationOptions) 1460Func<IAsyncResult, TResult> endMethod, TArg1 arg1, TArg2 arg2, object state) 1500Func<IAsyncResult, TResult> endMethod, TArg1 arg1, TArg2 arg2, object state, TaskCreationOptions creationOptions) 1539Func<IAsyncResult, TResult> endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object state) 1583Func<IAsyncResult, TResult> endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object state, TaskCreationOptions creationOptions) 2097public Task<TResult> ContinueWhenAll<TResult>(Task[] tasks, Func<Task[], TResult> continuationFunction) 2133public Task<TResult> ContinueWhenAll<TResult>(Task[] tasks, Func<Task[], TResult> continuationFunction, CancellationToken cancellationToken) 2174public Task<TResult> ContinueWhenAll<TResult>(Task[] tasks, Func<Task[], TResult> continuationFunction, TaskContinuationOptions continuationOptions) 2225public Task<TResult> ContinueWhenAll<TResult>(Task[] tasks, Func<Task[], TResult> continuationFunction, CancellationToken cancellationToken, 2258public Task<TResult> ContinueWhenAll<TAntecedentResult, TResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>[], TResult> continuationFunction) 2294public Task<TResult> ContinueWhenAll<TAntecedentResult, TResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>[], TResult> continuationFunction, 2337public Task<TResult> ContinueWhenAll<TAntecedentResult, TResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>[], TResult> continuationFunction, 2390public Task<TResult> ContinueWhenAll<TAntecedentResult, TResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>[], TResult> continuationFunction, 2692public Task<TResult> ContinueWhenAny<TResult>(Task[] tasks, Func<Task, TResult> continuationFunction) 2727public Task<TResult> ContinueWhenAny<TResult>(Task[] tasks, Func<Task, TResult> continuationFunction, CancellationToken cancellationToken) 2768public Task<TResult> ContinueWhenAny<TResult>(Task[] tasks, Func<Task, TResult> continuationFunction, TaskContinuationOptions continuationOptions) 2819public Task<TResult> ContinueWhenAny<TResult>(Task[] tasks, Func<Task, TResult> continuationFunction, CancellationToken cancellationToken, 2851public Task<TResult> ContinueWhenAny<TAntecedentResult, TResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>, TResult> continuationFunction) 2885public Task<TResult> ContinueWhenAny<TAntecedentResult, TResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>, TResult> continuationFunction, 2928public Task<TResult> ContinueWhenAny<TAntecedentResult, TResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>, TResult> continuationFunction, 2981public Task<TResult> ContinueWhenAny<TAntecedentResult, TResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>, TResult> continuationFunction,
system\type.cs (3)
112Func<AssemblyName, Assembly> assemblyResolver, 122Func<AssemblyName, Assembly> assemblyResolver, 133Func<AssemblyName, Assembly> assemblyResolver,
system\typenameparser.cs (3)
79Func<AssemblyName, Assembly> assemblyResolver, 132Func<AssemblyName, Assembly> assemblyResolver, 209private static Assembly ResolveAssembly(string asmName, Func<AssemblyName, Assembly> assemblyResolver, bool throwOnError, ref StackCrawlMark stackMark)
PresentationCore (2)
Core\CSharp\System\Windows\Input\ManipulationBoundaryFeedbackEventArgs.cs (1)
84internal Func<Point, Point> CompensateForBoundaryFeedback
Core\CSharp\System\Windows\Input\ManipulationDevice.cs (1)
611private Func<Point, Point> _compensateForBoundaryFeedback;
PresentationFramework (16)
src\Framework\MS\Internal\Data\DataBindEngine.cs (1)
346internal ViewRecord GetViewRecord(object collection, CollectionViewSource key, Type collectionViewType, bool createView, Func<object, object> GetSourceItem)
src\Framework\MS\Internal\Data\LiveShapingList.cs (1)
662void ForEachUntil(Func<LiveShapingItem, bool> action)
src\Framework\MS\Internal\Data\RBTree.cs (1)
455internal void ForEachUntil(Func<T, bool> action)
src\Framework\MS\Internal\Data\ViewManager.cs (3)
502internal ViewRecord GetViewRecord(object collection, CollectionViewSource cvs, Type collectionViewType, bool createView, Func<object, object> GetSourceItem) 628CollectionRecord EnsureCollectionRecord(object collection, Func<object, object> GetSourceItem=null) 692private ViewRecord GetExistingView(object collection, CollectionViewSource cvs, Type collectionViewType, Func<object, object> GetSourceItem)
src\Framework\MS\Internal\Helper.cs (1)
1322internal static T FindVisualAncestor<T>(DependencyObject element, Func<DependencyObject, bool> shouldContinueFunc) where T : DependencyObject
src\Framework\System\Windows\Controls\ItemCollection.cs (1)
1518internal void SetItemsSource(IEnumerable value, Func<object, object> GetSourceItem = null)
src\Framework\System\Windows\Data\CollectionViewSource.cs (2)
808static internal CollectionView GetDefaultCollectionView(object source, bool createView, Func<object, object> GetSourceItem=null) 824internal static CollectionView GetDefaultCollectionView(object source, DependencyObject d, Func<object, object> GetSourceItem=null)
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
3647public void Process(Func<object, bool> action)
src\Framework\System\Windows\Markup\Baml2006\Baml6ConstructorInfo.cs (3)
9public Baml6ConstructorInfo(List<Type> types, Func<Object[], object> ctor) 16Func<Object[], object> _constructor; 19public Func<Object[], object> Constructor { get { return _constructor; } }
src\Framework\System\Windows\Markup\Baml2006\WpfKnownMember.cs (2)
26Func<object, object> _getDelegate; 124public Func<object, object> GetDelegate
System (9)
compmod\system\collections\specialized\marshalinghelpers.cs (3)
172Func<NotifyCollectionChangedEventHandler, EventRegistrationToken> addMethod = 258Func<PropertyChangedEventHandler, EventRegistrationToken> addMethod = 348Func<EventHandler<object>, EventRegistrationToken> addMethod =
net\System\Net\webclient.cs (1)
2908private void HandleCompletion<TAsyncCompletedEventArgs, TCompletionDelegate, T>(TaskCompletionSource<T> tcs, TAsyncCompletedEventArgs e, Func<TAsyncCompletedEventArgs, T> getResult, TCompletionDelegate handler, Action<WebClient, TCompletionDelegate> unregisterHandler)
net\System\Net\WebSockets\WebSocketConnectionStream.cs (1)
21private static readonly Func<Exception, bool> s_CanHandleException = new Func<Exception, bool>(CanHandleException);
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (1)
28private static readonly Func<Exception, bool> s_CanHandleException = new Func<Exception, bool>(CanHandleException);
parent\parent\parent\InternalApis\NDP_Common\inc\PinnableBufferCache.cs (3)
499public static void Register(Func<object, bool> callback, object targetObj) 508private Func<object, bool> m_callback; 512private void Setup(Func<object, bool> callback, object targetObj)
System.Activities (92)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (6)
252public static Expression<Func<ActivityContext, T>> Compile<T>(string expressionText, CodeActivityPublicEnvironmentAccessor publicAccessor, bool isLocationExpression) 407public Expression<Func<ActivityContext, T>> Compile<T>(CodeActivityPublicEnvironmentAccessor publicAccessor, bool isLocationReference = false) 415public Expression<Func<ActivityContext, T>> Compile<T>(LocationReferenceEnvironment environment) 425public Expression<Func<ActivityContext, T>> Compile<T>(LocationReferenceEnvironment environment, bool isLocationReference) 468return Expression.Lambda<Func<ActivityContext, T>>(finalBody, 576return Expression.Lambda<Func<ActivityContext, T>>(finalBody,
Microsoft\VisualBasic\Activities\VisualBasicReference.cs (3)
22Expression<Func<ActivityContext, TResult>> expressionTree; 154private Expression<Func<ActivityContext, TResult>> CompileLocationExpression(CodeActivityPublicEnvironmentAccessor publicAccessor, out string validationError) 156Expression<Func<ActivityContext, TResult>> expressionTreeToReturn = null;
Microsoft\VisualBasic\Activities\VisualBasicValue.cs (2)
22Expression<Func<ActivityContext, TResult>> expressionTree; 23Func<ActivityContext, TResult> compiledExpression;
System\Activities\Debugger\UnitTestUtility.cs (2)
12internal static Func<string, Exception> AssertionExceptionFactory 18internal static void TestInitialize(Func<string, Exception> createAssertionException)
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (6)
45public Func<object, DynamicUpdateMapItem> LookupMapItem 51public Func<Activity, DynamicUpdateMap> LookupImplementationMap 83internal Func<Activity, Exception> OnInvalidActivityToBlockUpdate 91internal Func<Activity, Exception> OnInvalidImplementationMapAssociation 869Func<object, DynamicUpdateMapItem> matchInfoLookup; 871internal DefinitionMatcher(Func<object, DynamicUpdateMapItem> matchInfoLookup)
System\Activities\DynamicUpdate\DynamicUpdateServices.cs (2)
27private static Func<Activity, Exception> onInvalidActivityToBlockUpdate = 30private static Func<Activity, Exception> onInvalidImplementationMapAssociation =
System\Activities\Expressions\As.cs (1)
22static Func<TOperand, TResult> operationFunction;
System\Activities\Expressions\Cast.cs (3)
19static Func<TOperand, TResult> checkedOperationFunction; 20static Func<TOperand, TResult> uncheckedOperationFunction; 53ref Func<TOperand, TResult> operationFunction,
System\Activities\Expressions\ExpressionServices.cs (4)
29public static Activity<TResult> Convert<TResult>(Expression<Func<ActivityContext, TResult>> expression) 42public static bool TryConvert<TResult>(Expression<Func<ActivityContext, TResult>> expression, out Activity<TResult> result) 149public static Activity<Location<TResult>> ConvertReference<TResult>(Expression<Func<ActivityContext, TResult>> expression) 163public static bool TryConvertReference<TResult>(Expression<Func<ActivityContext, TResult>> expression, out Activity<Location<TResult>> result)
System\Activities\Expressions\FieldValue.cs (1)
14Func<TOperand, TResult> operationFunction;
System\Activities\Expressions\LambdaReference.cs (4)
21Expression<Func<ActivityContext, T>> locationExpression; 22Expression<Func<ActivityContext, T>> rewrittenTree; 25public LambdaReference(Expression<Func<ActivityContext, T>> locationExpression) 52this.rewrittenTree = (Expression<Func<ActivityContext, T>>)newTree;
System\Activities\Expressions\LambdaValue.cs (5)
21Func<ActivityContext, TResult> compiledLambdaValue; 22Expression<Func<ActivityContext, TResult>> lambdaValue; 23Expression<Func<ActivityContext, TResult>> rewrittenTree; 25public LambdaValue(Expression<Func<ActivityContext, TResult>> lambdaValue) 52this.rewrittenTree = (Expression<Func<ActivityContext, TResult>>)newTree;
System\Activities\Expressions\MemberExpressionHelper.cs (3)
31public static bool TryGenerateLinqDelegate<TOperand, TResult>(string memberName, bool isField, bool isStatic, out Func<TOperand, TResult> operation, out ValidationError validationError) 48Expression<Func<TOperand, TResult>> lambdaExpression = Expression.Lambda<Func<TOperand, TResult>>(memberExpression, operandParameter);
System\Activities\Expressions\MethodCallExpressionHelper.cs (7)
217static Func<object[], TResult> GetFunc<TResult>(CodeActivityMetadata metadata, ConstructorInfo constructorInfo) 223Expression<Func<object[], TResult>> lambdaExpression = Expression.Lambda<Func<object[], TResult>>(block, objectArray); 289internal static Func<object[], TResult> GetFunc<TResult>(CodeActivityMetadata metadata, ConstructorInfo constructorInfo, 290MruCache<ConstructorInfo, Func<object[], TResult>> cache, ReaderWriterLockSlim locker) 292Func<object[], TResult> func = null; 314Func<object[], TResult> result = null;
System\Activities\Expressions\New.cs (3)
27Func<object[], TResult> function; 29static MruCache<ConstructorInfo, Func<object[], TResult>> funcCache = 30new MruCache<ConstructorInfo, Func<object[], TResult>>(MethodCallExpressionHelper.FuncCacheCapacity);
System\Activities\Expressions\Not.cs (1)
20static Func<TOperand, TResult> operationFunction;
System\Activities\Expressions\PropertyValue.cs (1)
15Func<TOperand, TResult> operationFunction;
System\Activities\Expressions\UnaryExpressionHelper.cs (3)
26public static bool TryGenerateLinqDelegate<TOperand, TResult>(ExpressionType operatorType, out Func<TOperand, TResult> operation, out ValidationError validationError) 36Expression<Func<TOperand, TResult>> lambdaExpression = Expression.Lambda<Func<TOperand, TResult>>(expressionToCompile, operandParameter);
System\Activities\ExpressionUtilities.cs (17)
254static Func<ActivityContext, T> Compile<T>(Expression objectExpression, ReadOnlyCollection<ParameterExpression> parametersCollection) 262Expression<Func<ActivityContext, T>> objectLambda = Expression.Lambda<Func<ActivityContext, T>>(objectExpression, parameters); 268Func<ActivityContext, T> objectFunc = Compile<T>(objectExpression, parametersCollection); 275Func<ActivityContext, T[]> arrayFunction; 276Func<ActivityContext, int> indexFunction; 337Func<ActivityContext, object> ownerFunction; 454Func<ActivityContext, Argument> argumentFunction; 471Func<ActivityContext, LocationReference> locationReferenceFunction; 490Func<ActivityContext, object>[] setItemArgumentFunctions; 491Func<ActivityContext, object> targetObjectFunction; 523this.setItemArgumentFunctions = new Func<ActivityContext, object>[callExpression.Arguments.Count]; 657Func<ActivityContext, Array> arrayFunction; 658Func<ActivityContext, int>[] indexFunctions; 668this.indexFunctions = new Func<ActivityContext, int>[callExpression.Arguments.Count]; 731Func<ActivityContext, object> ownerFunction; 1980typeof(Func<,>).MakeGenericType(typeof(ActivityContext), originalLambdaExpression.ReturnType),
System\Activities\InArgument.cs (1)
91public InArgument(Expression<Func<ActivityContext, T>> expression)
System\Activities\InOutArgument.cs (1)
65public InOutArgument(Expression<Func<ActivityContext, T>> expression)
System\Activities\OutArgument.cs (1)
85public OutArgument(Expression<Func<ActivityContext, T>> expression)
System\Activities\Statements\DoWhile.cs (1)
30public DoWhile(Expression<Func<ActivityContext, bool>> condition)
System\Activities\Statements\Flowchart.cs (1)
245void DepthFirstVisitNodes(Func<FlowNode, bool> visitNodeCallback, FlowNode start)
System\Activities\Statements\FlowDecision.cs (1)
25public FlowDecision(Expression<Func<ActivityContext, bool>> condition)
System\Activities\Statements\If.cs (1)
23public If(Expression<Func<ActivityContext, bool>> condition)
System\Activities\Statements\Switch.cs (1)
26public Switch(Expression<Func<ActivityContext, T>> expression)
System\Activities\Statements\While.cs (1)
30public While(Expression<Func<ActivityContext, bool>> condition)
System\Activities\Variable.cs (2)
282public Variable(Expression<Func<ActivityContext, T>> defaultExpression) 291public Variable(string name, Expression<Func<ActivityContext, T>> defaultExpression)
System\Activities\WorkflowApplication.cs (6)
64Func<WorkflowApplicationUnhandledExceptionEventArgs, UnhandledExceptionAction> onUnhandledException; 65Func<WorkflowApplicationIdleEventArgs, PersistableIdleAction> onPersistableIdle; 210public Func<WorkflowApplicationUnhandledExceptionEventArgs, UnhandledExceptionAction> OnUnhandledException 236public Func<WorkflowApplicationIdleEventArgs, PersistableIdleAction> PersistableIdle 4993Func<WorkflowApplicationIdleEventArgs, PersistableIdleAction> persistableIdleHandler = application.PersistableIdle; 5258Func<WorkflowApplicationUnhandledExceptionEventArgs, UnhandledExceptionAction> handler = instance.OnUnhandledException;
System\Activities\XamlIntegration\CompiledDataContext.cs (1)
78typeof(Func<,>).MakeGenericType(typeof(ActivityContext), lambdaExpression.ReturnType),
System.Activities.Core.Presentation (17)
System\Activities\Core\Presentation\AssignDesigner.xaml.cs (1)
64Func<Activity, IEnumerable<ArgumentAccessor>> argumentAccessorGenerator = (activity) =>
System\Activities\Core\Presentation\FlowchartDesigner.Helpers.cs (1)
346public static bool Pack<T>(T[] toPack, Func<T, bool> isPacked) where T : class
System\Activities\Core\Presentation\InteropDesigner.xaml.cs (2)
19private static Func<Type, bool> filter; 27public static Func<Type, bool> Filter
System\Activities\Core\Presentation\InvokeMethodDesigner.xaml.cs (1)
47Func<Activity, IEnumerable<ArgumentAccessor>> argumentAccessorGenerator = (activity) => new ArgumentAccessor[]
System\Activities\Presentation\ActivityDesignerHelper.cs (2)
39Func<ModelItem, bool> isInSequencePredicate = (p) => 78Func<ModelItem, bool> isInFlowchartPredicate = (p) =>
System\Activities\Presentation\TypeCollectionDesigner.xaml.cs (1)
80public Func<Type, bool> Filter
System\Activities\Presentation\TypeCollectionPropertyEditor.cs (3)
64Func<Type, bool> filter = GetOptionValueOrUseDefault<Func<Type, bool>>(editingProperty.Attributes, TypeCollectionPropertyEditor.Filter, null); 83public EditorWindow(ModelItem activity, IEnumerable<Type> data, EditingContext context, DependencyObject owner, bool allowDuplicate, Func<Type, bool> filter, Type defaultType)
System\ServiceModel\Activities\Presentation\BindingEditor.xaml.cs (1)
115Func<BindingDescriptor, bool> where = p => null != p.Value && p.Value.BindingType == bindingType;
System\ServiceModel\Activities\Presentation\ReceiveDesigner.xaml.cs (1)
88Func<Activity, IEnumerable<ArgumentAccessor>> argumentAccessorGenerator = (activity) => new ArgumentAccessor[]
System\ServiceModel\Activities\Presentation\ReceiveReplyDesigner.xaml.cs (1)
66Func<Activity, IEnumerable<ArgumentAccessor>> argumentAccessorGenerator = (activity) => new ArgumentAccessor[]
System\ServiceModel\Activities\Presentation\SendDesigner.xaml.cs (1)
91Func<Activity, IEnumerable<ArgumentAccessor>> argumentAccessorGenerator = (activity) => new ArgumentAccessor[]
System\ServiceModel\Activities\Presentation\SendReplyDesigner.xaml.cs (1)
65Func<Activity, IEnumerable<ArgumentAccessor>> argumentAccessorGenerator = (activity) => new ArgumentAccessor[]
System\ServiceModel\Activities\Presentation\ServiceContractImporter.cs (1)
43internal static Func<Type, bool> FilterFunction
System.Activities.Presentation (39)
System.Activities.Presentation\System\Activities\Presentation\ActivityDesignerOptionsAttribute.cs (1)
34public Func<ModelItem, DrawingBrush> OutlineViewIconProvider
System.Activities.Presentation\System\Activities\Presentation\ArgumentAccessor.cs (1)
19public Func<Activity, Argument> Getter { get; set; }
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
715public Func<DesignObjectWrapper, object> PropertyGetter { get; set; }
System.Activities.Presentation\System\Activities\Presentation\Metadata\ActivityArgumentHelper.cs (5)
23private static Dictionary<Type, Func<Activity, IEnumerable<ArgumentAccessor>>> argumentAccessorsGenerators = new Dictionary<Type, Func<Activity, IEnumerable<ArgumentAccessor>>>(); 30public static void RegisterAccessorsGenerator(Type activityType, Func<Activity, IEnumerable<ArgumentAccessor>> argumentAccessorsGenerator) 51internal static bool TryGetArgumentAccessorsGenerator(Type activityType, out Func<Activity, IEnumerable<ArgumentAccessor>> argumentAccessorsGenerator) 287Func<Activity, IEnumerable<ArgumentAccessor>> argumentAccessorsGenerator;
System.Activities.Presentation\System\Activities\Presentation\Model\AttachedProperty.cs (1)
76public Func<ModelItem, T> Getter
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (4)
437internal static IEnumerable<ModelItem> GetParentEnumerator(this ModelItem item, Func<ModelItem, bool> continueEnumerationPredicate) 455internal static string GetUniqueName(this ModelItemCollection collection, string nameDefaultPrefix, Func<ModelItem, string> nameGetter) 460internal static string GetUniqueName(this ModelItemDictionary dictionary, string nameDefaultPrefix, Func<ModelItem, string> nameGetter) 472internal static string GetUniqueName<T>(this IEnumerable<T> collection, string nameDefaultPrefix, Func<T, string> nameGetter)
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (2)
472Func<DesignTimeArgument, bool> checkForDuplicates = new Func<DesignTimeArgument, bool>(p => string.Equals((string)p.ReflectedObject.Properties["Name"].ComputedValue, newName, StringComparison.OrdinalIgnoreCase) && !object.Equals(p.GetArgumentName(), identifierName)); 491Func<DesignTimeArgument, bool> checkForOldNameDuplicates = new Func<DesignTimeArgument, bool>(p => string.Equals((string)p.ReflectedObject.Properties["Name"].ComputedValue, oldName, StringComparison.OrdinalIgnoreCase) && !object.Equals(p.GetArgumentName(), identifier));
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (2)
78Func<ResolveTemplateParams, bool> resolveDynamicTemplateCallback; 303public Func<ResolveTemplateParams, bool> ResolveDynamicTemplateCallback
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
137Func<WorkflowViewElement, BreakpointTypes> getBreakpointType; 140Func<int, bool> isCommandSupported;
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (1)
182Func<double, bool> IsInvalid = x => (double.IsInfinity(x) || double.IsNaN(x) || double.Epsilon > x);
System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (5)
61Func<Type, bool> filter; 64public TypeBrowser(AssemblyContextControlItem assemblyContext, EditingContext context, Func<Type, bool> filter) 519Func<Type, bool> filter; 522public AssemblyNode(Assembly assembly, bool isLocal, Func<Type, bool> filter, EditingContext context) 573Func<Type, bool> typeFilter = this.filter;
System.Activities.Presentation\System\Activities\Presentation\View\TypeKeyValue.cs (2)
26Func<Type, bool> filter; 70public Func<Type, bool> Filter
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (3)
61typeof(Func<Type, bool>), 301public Func<Type, bool> Filter 303get { return (Func<Type, bool>)GetValue(FilterProperty); }
System.Activities.Presentation\System\Activities\Presentation\View\TypeResolvingOptions.cs (4)
36public Func<Type, bool> Filter 103static Func<Type, bool> FuncAnd(Func<Type, bool> lhs, Func<Type, bool> rhs)
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (4)
160Func<DesignTimeVariable, bool> checkForDuplicates = new Func<DesignTimeVariable, bool>(p => string.Equals((string)p.ReflectedObject.Properties["Name"].ComputedValue, newName, StringComparison.OrdinalIgnoreCase) && !object.Equals(p.GetVariableName(), identifierName)); 179Func<DesignTimeVariable, bool> checkForOldNameDuplicates = new Func<DesignTimeVariable, bool>(p => string.Equals((string)p.ReflectedObject.Properties["Name"].ComputedValue, oldName, StringComparison.OrdinalIgnoreCase) && !object.Equals(p.GetVariableName(), identifier)); 1411Func<ModelItem, bool> checkForDuplicates = 1436Func<ModelItem, bool> checkForDuplicates =
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
1961Func<ModelItem, bool> filterDelegate = new Func<ModelItem, bool>((variable) =>
System.ComponentModel.DataAnnotations (6)
DataAnnotations\RangeAttribute.cs (3)
28private Func<object, object> Conversion { get; set; } 71private void Initialize(IComparable minimum, IComparable maximum, Func<object, object> conversion) { 182Func<object, object> conversion = value => (value != null && value.GetType() == type) ? value : converter.ConvertFrom(value);
DataAnnotations\ValidationContext.cs (3)
31private Func<Type, object> _serviceProvider; 246/// A <see cref="Func{T, TResult}"/> that can return service instances given the 250public void InitializeServiceProvider(Func<Type, object> serviceProvider) {
System.Configuration (9)
System\Configuration\BaseConfigurationRecord.cs (2)
4600internal System.Func<string, string> TypeStringTransformer { 4606internal System.Func<string, string> AssemblyStringTransformer {
System\Configuration\Configuration.cs (4)
35private Func<string, string> _TypeStringTransformer = null; 36private Func<string, string> _AssemblyStringTransformer = null; 255public System.Func<string, string> TypeStringTransformer { 270public System.Func<string, string> AssemblyStringTransformer {
System\Configuration\TypeUtil.cs (3)
140var createInstanceDel = (Func<Type, object>)dm.CreateDelegate(typeof(Func<Type, object>));
System.Core (436)
Microsoft\Scripting\Actions\CallSite.cs (5)
67private static volatile CacheDict<Type, Func<CallSiteBinder, CallSite>> _SiteCtors; 107_SiteCtors = ctors = new CacheDict<Type, Func<CallSiteBinder, CallSite>>(100); 110Func<CallSiteBinder, CallSite> ctor; 116ctor = (Func<CallSiteBinder, CallSite>)Delegate.CreateDelegate(typeof(Func<CallSiteBinder, CallSite>), method);
Microsoft\Scripting\Actions\ExpandoObject.cs (1)
691private DynamicMetaObject BindGetOrInvokeMember(DynamicMetaObjectBinder binder, string name, bool ignoreCase, DynamicMetaObject fallback, Func<DynamicMetaObject, DynamicMetaObject> fallbackInvoke) {
Microsoft\Scripting\Actions\UpdateDelegates.Generated.cs (3)
44var @this = (CallSite<Func<CallSite, TRet>>)site; 45Func<CallSite, TRet>[] applicable; 46Func<CallSite, TRet> rule, originalRule = @this.Target;
Microsoft\Scripting\Ast\Expression.cs (1)
152/// <param name="visitor">An instance of <see cref="Func{Expression, Expression}"/>.</param>
Microsoft\Scripting\Ast\ExpressionVisitor.cs (1)
117public static ReadOnlyCollection<T> Visit<T>(ReadOnlyCollection<T> nodes, Func<T, T> elementVisitor) {
Microsoft\Scripting\Ast\IArgumentProvider.cs (1)
66internal static T[] Map<T>(this IArgumentProvider collection, Func<Expression, T> select) {
Microsoft\Scripting\Compiler\DelegateHelpers.Generated.cs (1)
235case 2: return typeof(Func<,>).MakeGenericType(types);
Microsoft\Scripting\Utils\CollectionExtensions.cs (5)
113internal static IEnumerable<U> Select<T, U>(this IEnumerable<T> enumerable, Func<T, U> select) { 120internal static U[] Map<T, U>(this ICollection<T> collection, Func<T, U> select) { 130internal static IEnumerable<T> Where<T>(this IEnumerable<T> enumerable, Func<T, bool> where) { 138internal static bool Any<T>(this IEnumerable<T> source, Func<T, bool> predicate) { 147internal static bool All<T>(this IEnumerable<T> source, Func<T, bool> predicate) {
Microsoft\Scripting\Utils\Helpers.cs (1)
30internal static T CommonNode<T>(T first, T second, Func<T, T> parent) where T : class {
System\FuncAndAction.cs (1)
13[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Func<,>))]
System\Linq\Enumerable.cs (167)
15public static IEnumerable<TSource> Where<TSource>(this IEnumerable<TSource> source, Func<TSource, bool> predicate) { 38public static IEnumerable<TResult> Select<TSource, TResult>(this IEnumerable<TSource> source, Func<TSource, TResult> selector) { 61static Func<TSource, bool> CombinePredicates<TSource>(Func<TSource, bool> predicate1, Func<TSource, bool> predicate2) { 65static Func<TSource, TResult> CombineSelectors<TSource, TMiddle, TResult>(Func<TSource, TMiddle> selector1, Func<TMiddle, TResult> selector2) { 102public abstract IEnumerable<TResult> Select<TResult>(Func<TSource, TResult> selector); 104public abstract IEnumerable<TSource> Where(Func<TSource, bool> predicate); 122Func<TSource, bool> predicate; 125public WhereEnumerableIterator(IEnumerable<TSource> source, Func<TSource, bool> predicate) { 160public override IEnumerable<TResult> Select<TResult>(Func<TSource, TResult> selector) { 164public override IEnumerable<TSource> Where(Func<TSource, bool> predicate) { 172Func<TSource, bool> predicate; 175public WhereArrayIterator(TSource[] source, Func<TSource, bool> predicate) { 199public override IEnumerable<TResult> Select<TResult>(Func<TSource, TResult> selector) { 203public override IEnumerable<TSource> Where(Func<TSource, bool> predicate) { 211Func<TSource, bool> predicate; 214public WhereListIterator(List<TSource> source, Func<TSource, bool> predicate) { 243public override IEnumerable<TResult> Select<TResult>(Func<TSource, TResult> selector) { 247public override IEnumerable<TSource> Where(Func<TSource, bool> predicate) { 260private readonly Func<TSource, TResult> _selector; 263public SelectEnumerableIterator(IEnumerable<TSource> source, Func<TSource, TResult> selector) 307public override IEnumerable<TResult2> Select<TResult2>(Func<TResult, TResult2> selector) 312public override IEnumerable<TResult> Where(Func<TResult, bool> predicate) 369Func<TSource, bool> predicate; 370Func<TSource, TResult> selector; 373public WhereSelectEnumerableIterator(IEnumerable<TSource> source, Func<TSource, bool> predicate, Func<TSource, TResult> selector) { 409public override IEnumerable<TResult2> Select<TResult2>(Func<TResult, TResult2> selector) { 413public override IEnumerable<TResult> Where(Func<TResult, bool> predicate) { 421Func<TSource, bool> predicate; 422Func<TSource, TResult> selector; 425public WhereSelectArrayIterator(TSource[] source, Func<TSource, bool> predicate, Func<TSource, TResult> selector) { 450public override IEnumerable<TResult2> Select<TResult2>(Func<TResult, TResult2> selector) { 454public override IEnumerable<TResult> Where(Func<TResult, bool> predicate) { 462Func<TSource, bool> predicate; 463Func<TSource, TResult> selector; 466public WhereSelectListIterator(List<TSource> source, Func<TSource, bool> predicate, Func<TSource, TResult> selector) { 496public override IEnumerable<TResult2> Select<TResult2>(Func<TResult, TResult2> selector) { 500public override IEnumerable<TResult> Where(Func<TResult, bool> predicate) { 529public static IEnumerable<TResult> SelectMany<TSource, TResult>(this IEnumerable<TSource> source, Func<TSource, IEnumerable<TResult>> selector) { 535static IEnumerable<TResult> SelectManyIterator<TSource, TResult>(IEnumerable<TSource> source, Func<TSource, IEnumerable<TResult>> selector) { 576public static IEnumerable<TResult> SelectMany<TSource, TCollection, TResult>(this IEnumerable<TSource> source, Func<TSource, IEnumerable<TCollection>> collectionSelector, Func<TSource, TCollection, TResult> resultSelector) { 583static IEnumerable<TResult> SelectManyIterator<TSource, TCollection, TResult>(IEnumerable<TSource> source, Func<TSource, IEnumerable<TCollection>> collectionSelector, Func<TSource, TCollection, TResult> resultSelector) { 605public static IEnumerable<TSource> TakeWhile<TSource>(this IEnumerable<TSource> source, Func<TSource, bool> predicate) { 611static IEnumerable<TSource> TakeWhileIterator<TSource>(IEnumerable<TSource> source, Func<TSource, bool> predicate) { 647public static IEnumerable<TSource> SkipWhile<TSource>(this IEnumerable<TSource> source, Func<TSource, bool> predicate) { 653static IEnumerable<TSource> SkipWhileIterator<TSource>(IEnumerable<TSource> source, Func<TSource, bool> predicate) { 677public static IEnumerable<TResult> Join<TOuter, TInner, TKey, TResult>(this IEnumerable<TOuter> outer, IEnumerable<TInner> inner, Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, Func<TOuter, TInner, TResult> resultSelector) { 686public static IEnumerable<TResult> Join<TOuter, TInner, TKey, TResult>(this IEnumerable<TOuter> outer, IEnumerable<TInner> inner, Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, Func<TOuter, TInner, TResult> resultSelector, IEqualityComparer<TKey> comparer) { 695static IEnumerable<TResult> JoinIterator<TOuter, TInner, TKey, TResult>(IEnumerable<TOuter> outer, IEnumerable<TInner> inner, Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, Func<TOuter, TInner, TResult> resultSelector, IEqualityComparer<TKey> comparer) { 707public static IEnumerable<TResult> GroupJoin<TOuter, TInner, TKey, TResult>(this IEnumerable<TOuter> outer, IEnumerable<TInner> inner, Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, Func<TOuter, IEnumerable<TInner>, TResult> resultSelector) { 716public static IEnumerable<TResult> GroupJoin<TOuter, TInner, TKey, TResult>(this IEnumerable<TOuter> outer, IEnumerable<TInner> inner, Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, Func<TOuter, IEnumerable<TInner>, TResult> resultSelector, IEqualityComparer<TKey> comparer) { 725static IEnumerable<TResult> GroupJoinIterator<TOuter, TInner, TKey, TResult>(IEnumerable<TOuter> outer, IEnumerable<TInner> inner, Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, Func<TOuter, IEnumerable<TInner>, TResult> resultSelector, IEqualityComparer<TKey> comparer) { 732public static IOrderedEnumerable<TSource> OrderBy<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector) { 736public static IOrderedEnumerable<TSource> OrderBy<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, IComparer<TKey> comparer) { 740public static IOrderedEnumerable<TSource> OrderByDescending<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector) { 744public static IOrderedEnumerable<TSource> OrderByDescending<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, IComparer<TKey> comparer) { 748public static IOrderedEnumerable<TSource> ThenBy<TSource, TKey>(this IOrderedEnumerable<TSource> source, Func<TSource, TKey> keySelector) { 753public static IOrderedEnumerable<TSource> ThenBy<TSource, TKey>(this IOrderedEnumerable<TSource> source, Func<TSource, TKey> keySelector, IComparer<TKey> comparer) { 758public static IOrderedEnumerable<TSource> ThenByDescending<TSource, TKey>(this IOrderedEnumerable<TSource> source, Func<TSource, TKey> keySelector) { 763public static IOrderedEnumerable<TSource> ThenByDescending<TSource, TKey>(this IOrderedEnumerable<TSource> source, Func<TSource, TKey> keySelector, IComparer<TKey> comparer) { 768public static IEnumerable<IGrouping<TKey, TSource>> GroupBy<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector) { 772public static IEnumerable<IGrouping<TKey, TSource>> GroupBy<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, IEqualityComparer<TKey> comparer) { 776public static IEnumerable<IGrouping<TKey, TElement>> GroupBy<TSource, TKey, TElement>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector) { 780public static IEnumerable<IGrouping<TKey, TElement>> GroupBy<TSource, TKey, TElement>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey> comparer) { 784public static IEnumerable<TResult> GroupBy<TSource, TKey, TResult>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TKey, IEnumerable<TSource>, TResult> resultSelector){ 788public static IEnumerable<TResult> GroupBy<TSource, TKey, TElement, TResult>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, Func<TKey, IEnumerable<TElement>, TResult> resultSelector){ 792public static IEnumerable<TResult> GroupBy<TSource, TKey, TResult>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TKey, IEnumerable<TSource>, TResult> resultSelector, IEqualityComparer<TKey> comparer){ 796public static IEnumerable<TResult> GroupBy<TSource, TKey, TElement, TResult>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, Func<TKey, IEnumerable<TElement>, TResult> resultSelector, IEqualityComparer<TKey> comparer){ 952public static Dictionary<TKey, TSource> ToDictionary<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector) { 956public static Dictionary<TKey, TSource> ToDictionary<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, IEqualityComparer<TKey> comparer) { 960public static Dictionary<TKey, TElement> ToDictionary<TSource, TKey, TElement>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector) { 964public static Dictionary<TKey, TElement> ToDictionary<TSource, TKey, TElement>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey> comparer) { 973public static ILookup<TKey, TSource> ToLookup<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector) { 977public static ILookup<TKey, TSource> ToLookup<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, IEqualityComparer<TKey> comparer) { 981public static ILookup<TKey, TElement> ToLookup<TSource, TKey, TElement>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector) { 985public static ILookup<TKey, TElement> ToLookup<TSource, TKey, TElement>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey> comparer) { 1056public static TSource First<TSource>(this IEnumerable<TSource> source, Func<TSource, bool> predicate) { 1079public static TSource FirstOrDefault<TSource>(this IEnumerable<TSource> source, Func<TSource, bool> predicate) { 1109public static TSource Last<TSource>(this IEnumerable<TSource> source, Func<TSource, bool> predicate) { 1145public static TSource LastOrDefault<TSource>(this IEnumerable<TSource> source, Func<TSource, bool> predicate) { 1176public static TSource Single<TSource>(this IEnumerable<TSource> source, Func<TSource, bool> predicate) { 1213public static TSource SingleOrDefault<TSource>(this IEnumerable<TSource> source, Func<TSource, bool> predicate) { 1296public static bool Any<TSource>(this IEnumerable<TSource> source, Func<TSource, bool> predicate) { 1305public static bool All<TSource>(this IEnumerable<TSource> source, Func<TSource, bool> predicate) { 1329public static int Count<TSource>(this IEnumerable<TSource> source, Func<TSource, bool> predicate) { 1352public static long LongCount<TSource>(this IEnumerable<TSource> source, Func<TSource, bool> predicate) { 1399public static TResult Aggregate<TSource, TAccumulate, TResult>(this IEnumerable<TSource> source, TAccumulate seed, Func<TAccumulate, TSource, TAccumulate> func, Func<TAccumulate, TResult> resultSelector) { 1496public static int Sum<TSource>(this IEnumerable<TSource> source, Func<TSource, int> selector) { 1500public static int? Sum<TSource>(this IEnumerable<TSource> source, Func<TSource, int?> selector) { 1504public static long Sum<TSource>(this IEnumerable<TSource> source, Func<TSource, long> selector) { 1508public static long? Sum<TSource>(this IEnumerable<TSource> source, Func<TSource, long?> selector) { 1512public static float Sum<TSource>(this IEnumerable<TSource> source, Func<TSource, float> selector) { 1516public static float? Sum<TSource>(this IEnumerable<TSource> source, Func<TSource, float?> selector) { 1520public static double Sum<TSource>(this IEnumerable<TSource> source, Func<TSource, double> selector) { 1524public static double? Sum<TSource>(this IEnumerable<TSource> source, Func<TSource, double?> selector) { 1528public static decimal Sum<TSource>(this IEnumerable<TSource> source, Func<TSource, decimal> selector) { 1532public static decimal? Sum<TSource>(this IEnumerable<TSource> source, Func<TSource, decimal?> selector) { 1703public static int Min<TSource>(this IEnumerable<TSource> source, Func<TSource, int> selector) { 1707public static int? Min<TSource>(this IEnumerable<TSource> source, Func<TSource, int?> selector) { 1711public static long Min<TSource>(this IEnumerable<TSource> source, Func<TSource, long> selector) { 1715public static long? Min<TSource>(this IEnumerable<TSource> source, Func<TSource, long?> selector) { 1719public static float Min<TSource>(this IEnumerable<TSource> source, Func<TSource, float> selector) { 1723public static float? Min<TSource>(this IEnumerable<TSource> source, Func<TSource, float?> selector) { 1727public static double Min<TSource>(this IEnumerable<TSource> source, Func<TSource, double> selector) { 1731public static double? Min<TSource>(this IEnumerable<TSource> source, Func<TSource, double?> selector) { 1735public static decimal Min<TSource>(this IEnumerable<TSource> source, Func<TSource, decimal> selector) { 1739public static decimal? Min<TSource>(this IEnumerable<TSource> source, Func<TSource, decimal?> selector) { 1743public static TResult Min<TSource, TResult>(this IEnumerable<TSource> source, Func<TSource, TResult> selector) { 1907public static int Max<TSource>(this IEnumerable<TSource> source, Func<TSource, int> selector) { 1911public static int? Max<TSource>(this IEnumerable<TSource> source, Func<TSource, int?> selector) { 1915public static long Max<TSource>(this IEnumerable<TSource> source, Func<TSource, long> selector) { 1919public static long? Max<TSource>(this IEnumerable<TSource> source, Func<TSource, long?> selector) { 1923public static float Max<TSource>(this IEnumerable<TSource> source, Func<TSource, float> selector) { 1927public static float? Max<TSource>(this IEnumerable<TSource> source, Func<TSource, float?> selector) { 1931public static double Max<TSource>(this IEnumerable<TSource> source, Func<TSource, double> selector) { 1935public static double? Max<TSource>(this IEnumerable<TSource> source, Func<TSource, double?> selector) { 1939public static decimal Max<TSource>(this IEnumerable<TSource> source, Func<TSource, decimal> selector) { 1943public static decimal? Max<TSource>(this IEnumerable<TSource> source, Func<TSource, decimal?> selector) { 1947public static TResult Max<TSource, TResult>(this IEnumerable<TSource> source, Func<TSource, TResult> selector) { 2101public static double Average<TSource>(this IEnumerable<TSource> source, Func<TSource, int> selector) { 2105public static double? Average<TSource>(this IEnumerable<TSource> source, Func<TSource, int?> selector) { 2109public static double Average<TSource>(this IEnumerable<TSource> source, Func<TSource, long> selector) { 2113public static double? Average<TSource>(this IEnumerable<TSource> source, Func<TSource, long?> selector) { 2117public static float Average<TSource>(this IEnumerable<TSource> source, Func<TSource, float> selector) { 2121public static float? Average<TSource>(this IEnumerable<TSource> source, Func<TSource, float?> selector) { 2125public static double Average<TSource>(this IEnumerable<TSource> source, Func<TSource, double> selector) { 2129public static double? Average<TSource>(this IEnumerable<TSource> source, Func<TSource, double?> selector) { 2133public static decimal Average<TSource>(this IEnumerable<TSource> source, Func<TSource, decimal> selector) { 2137public static decimal? Average<TSource>(this IEnumerable<TSource> source, Func<TSource, decimal?> selector) { 2154public static Func<TElement, TElement> Instance { 2161IOrderedEnumerable<TElement> CreateOrderedEnumerable<TKey>(Func<TElement, TKey> keySelector, IComparer<TKey> comparer, bool descending); 2185internal static Lookup<TKey, TElement> Create<TSource>(IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey> comparer) { 2196internal static Lookup<TKey, TElement> CreateForJoin(IEnumerable<TElement> source, Func<TElement, TKey> keySelector, IEqualityComparer<TKey> comparer) { 2486Func<TSource, TKey> keySelector; 2487Func<TSource, TElement> elementSelector; 2491public GroupedEnumerable(IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, Func<TKey, IEnumerable<TElement>, TResult> resultSelector, IEqualityComparer<TKey> comparer){ 2516Func<TSource, TKey> keySelector; 2517Func<TSource, TElement> elementSelector; 2520public GroupedEnumerable(IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey> comparer) { 2559IOrderedEnumerable<TElement> IOrderedEnumerable<TElement>.CreateOrderedEnumerable<TKey>(Func<TElement, TKey> keySelector, IComparer<TKey> comparer, bool descending) { 2569internal Func<TElement, TKey> keySelector; 2573internal OrderedEnumerable(IEnumerable<TElement> source, Func<TElement, TKey> keySelector, IComparer<TKey> comparer, bool descending) { 2635internal Func<TElement, TKey> keySelector; 2641internal EnumerableSorter(Func<TElement, TKey> keySelector, IComparer<TKey> comparer, bool descending, EnumerableSorter<TElement> next) {
System\Linq\IQueryable.cs (68)
45private static MethodInfo GetMethodInfo<T1, T2>(Func<T1, T2> f, T1 unused1) { 90public static IQueryable<TSource> Where<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, bool>> predicate) { 138public static IQueryable<TResult> Select<TSource,TResult>(this IQueryable<TSource> source, Expression<Func<TSource, TResult>> selector) { 164public static IQueryable<TResult> SelectMany<TSource,TResult>(this IQueryable<TSource> source, Expression<Func<TSource, IEnumerable<TResult>>> selector) { 205public static IQueryable<TResult> SelectMany<TSource,TCollection,TResult>(this IQueryable<TSource> source, Expression<Func<TSource, IEnumerable<TCollection>>> collectionSelector, Expression<Func<TSource, TCollection, TResult>> resultSelector) { 226public static IQueryable<TResult> Join<TOuter,TInner,TKey,TResult>(this IQueryable<TOuter> outer, IEnumerable<TInner> inner, Expression<Func<TOuter,TKey>> outerKeySelector, Expression<Func<TInner,TKey>> innerKeySelector, Expression<Func<TOuter,TInner,TResult>> resultSelector) { 251public static IQueryable<TResult> Join<TOuter, TInner, TKey, TResult>(this IQueryable<TOuter> outer, IEnumerable<TInner> inner, Expression<Func<TOuter, TKey>> outerKeySelector, Expression<Func<TInner, TKey>> innerKeySelector, Expression<Func<TOuter, TInner, TResult>> resultSelector, IEqualityComparer<TKey> comparer) { 277public static IQueryable<TResult> GroupJoin<TOuter, TInner, TKey, TResult>(this IQueryable<TOuter> outer, IEnumerable<TInner> inner, Expression<Func<TOuter, TKey>> outerKeySelector, Expression<Func<TInner, TKey>> innerKeySelector, Expression<Func<TOuter, IEnumerable<TInner>, TResult>> resultSelector) { 301public static IQueryable<TResult> GroupJoin<TOuter, TInner, TKey, TResult>(this IQueryable<TOuter> outer, IEnumerable<TInner> inner, Expression<Func<TOuter, TKey>> outerKeySelector, Expression<Func<TInner, TKey>> innerKeySelector, Expression<Func<TOuter, IEnumerable<TInner>, TResult>> resultSelector, IEqualityComparer<TKey> comparer) { 326public static IOrderedQueryable<TSource> OrderBy<TSource, TKey>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector) 340public static IOrderedQueryable<TSource> OrderBy<TSource, TKey>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TKey> comparer) { 353public static IOrderedQueryable<TSource> OrderByDescending<TSource, TKey>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector) { 366public static IOrderedQueryable<TSource> OrderByDescending<TSource, TKey>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TKey> comparer) { 379public static IOrderedQueryable<TSource> ThenBy<TSource, TKey>(this IOrderedQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector) { 392public static IOrderedQueryable<TSource> ThenBy<TSource, TKey>(this IOrderedQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TKey> comparer) { 405public static IOrderedQueryable<TSource> ThenByDescending<TSource, TKey>(this IOrderedQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector) { 418public static IOrderedQueryable<TSource> ThenByDescending<TSource, TKey>(this IOrderedQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TKey> comparer) { 442public static IQueryable<TSource> TakeWhile<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, bool>> predicate) { 479public static IQueryable<TSource> SkipWhile<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, bool>> predicate) { 505public static IQueryable<IGrouping<TKey,TSource>> GroupBy<TSource, TKey>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector) { 518public static IQueryable<IGrouping<TKey, TElement>> GroupBy<TSource, TKey, TElement>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector, Expression<Func<TSource, TElement>> elementSelector) { 533public static IQueryable<IGrouping<TKey, TSource>> GroupBy<TSource, TKey>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector, IEqualityComparer<TKey> comparer) { 546public static IQueryable<IGrouping<TKey, TElement>> GroupBy<TSource, TKey, TElement>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector, Expression<Func<TSource,TElement>> elementSelector, IEqualityComparer<TKey> comparer) { 561public static IQueryable<TResult> GroupBy<TSource, TKey, TElement, TResult>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector, Expression<Func<TSource, TElement>> elementSelector, Expression<Func<TKey, IEnumerable<TElement>, TResult>> resultSelector) 579public static IQueryable<TResult> GroupBy<TSource, TKey, TResult>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector,Expression<Func<TKey, IEnumerable<TSource>, TResult>> resultSelector) 595public static IQueryable<TResult> GroupBy<TSource, TKey, TResult>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector, Expression<Func<TKey, IEnumerable<TSource>, TResult>> resultSelector, IEqualityComparer<TKey> comparer) 611public static IQueryable<TResult> GroupBy<TSource, TKey, TElement, TResult>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector, Expression<Func<TSource, TElement>> elementSelector, Expression<Func<TKey, IEnumerable<TElement>, TResult>> resultSelector, IEqualityComparer<TKey> comparer) 780public static TSource First<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, bool>> predicate) { 804public static TSource FirstOrDefault<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, bool>> predicate) { 828public static TSource Last<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, bool>> predicate) { 852public static TSource LastOrDefault<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, bool>> predicate) { 876public static TSource Single<TSource>(this IQueryable<TSource> source, Expression<Func<TSource,bool>> predicate) { 900public static TSource SingleOrDefault<TSource>(this IQueryable<TSource> source, Expression<Func<TSource,bool>> predicate) { 1033public static bool Any<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, bool>> predicate) { 1046public static bool All<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, bool>> predicate) { 1070public static int Count<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, bool>> predicate) { 1094public static long LongCount<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, bool>> predicate) { 1118public static TResult Min<TSource,TResult>(this IQueryable<TSource> source, Expression<Func<TSource,TResult>> selector) { 1142public static TResult Max<TSource,TResult>(this IQueryable<TSource> source, Expression<Func<TSource,TResult>> selector) { 1265public static int Sum<TSource>(this IQueryable<TSource> source, Expression<Func<TSource,int>> selector) { 1278public static int? Sum<TSource>(this IQueryable<TSource> source, Expression<Func<TSource,int?>> selector) { 1291public static long Sum<TSource>(this IQueryable<TSource> source, Expression<Func<TSource,long>> selector) { 1304public static long? Sum<TSource>(this IQueryable<TSource> source, Expression<Func<TSource,long?>> selector) { 1317public static float Sum<TSource>(this IQueryable<TSource> source, Expression<Func<TSource,float>> selector) { 1330public static float? Sum<TSource>(this IQueryable<TSource> source, Expression<Func<TSource,float?>> selector) { 1343public static double Sum<TSource>(this IQueryable<TSource> source, Expression<Func<TSource,double>> selector) { 1356public static double? Sum<TSource>(this IQueryable<TSource> source, Expression<Func<TSource,double?>> selector) { 1369public static decimal Sum<TSource>(this IQueryable<TSource> source, Expression<Func<TSource,decimal>> selector) { 1382public static decimal? Sum<TSource>(this IQueryable<TSource> source, Expression<Func<TSource,decimal?>> selector) { 1507public static double Average<TSource>(this IQueryable<TSource> source, Expression<Func<TSource,int>> selector) { 1520public static double? Average<TSource>(this IQueryable<TSource> source, Expression<Func<TSource,int?>> selector) { 1533public static float Average<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, float>> selector) 1547public static float? Average<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, float?>> selector) 1561public static double Average<TSource>(this IQueryable<TSource> source, Expression<Func<TSource,long>> selector) { 1574public static double? Average<TSource>(this IQueryable<TSource> source, Expression<Func<TSource,long?>> selector) { 1587public static double Average<TSource>(this IQueryable<TSource> source, Expression<Func<TSource,double>> selector) { 1600public static double? Average<TSource>(this IQueryable<TSource> source, Expression<Func<TSource,double?>> selector) { 1613public static decimal Average<TSource>(this IQueryable<TSource> source, Expression<Func<TSource,decimal>> selector) { 1626public static decimal? Average<TSource>(this IQueryable<TSource> source, Expression<Func<TSource,decimal?>> selector) { 1665public static TResult Aggregate<TSource,TAccumulate,TResult>(this IQueryable<TSource> source, TAccumulate seed, Expression<Func<TAccumulate,TSource,TAccumulate>> func, Expression<Func<TAccumulate,TResult>> selector) {
System\Linq\Parallel\Enumerables\AggregationMinMaxHelpers.cs (2)
34Func<Pair<bool, T>, T> resultSelector = MakeResultSelectorFunction(); 114private static Func<Pair<bool, T>, T> MakeResultSelectorFunction()
System\Linq\Parallel\Partitioning\HashRepartitionEnumerator.cs (2)
34private readonly Func<TInputOutput, THashKey> m_keySelector; // A key-selector function. 69Func<TInputOutput, THashKey> keySelector, HashRepartitionStream<TInputOutput, THashKey, int> repartitionStream,
System\Linq\Parallel\Partitioning\OrderedHashRepartitionEnumerator.cs (2)
34private readonly Func<TInputOutput, THashKey> m_keySelector; // A key-selector function. 71Func<TInputOutput, THashKey> keySelector, OrderedHashRepartitionStream<TInputOutput, THashKey, TOrderKey> repartitionStream, CountdownEvent barrier,
System\Linq\Parallel\Partitioning\OrderedHashRepartitionStream.cs (1)
22PartitionedStream<TInputOutput, TOrderKey> inputStream, Func<TInputOutput, THashKey> hashKeySelector,
System\Linq\Parallel\Partitioning\UnorderedHashRepartitionStream.cs (1)
28Func<TInputOutput, THashKey> keySelector, IEqualityComparer<THashKey> keyComparer, IEqualityComparer<TInputOutput> elementComparer,
System\Linq\Parallel\QueryOperators\AssociativeAggregationOperator.cs (2)
67private Func<TIntermediate, TOutput> m_resultSelector; 82Func<TIntermediate, TOutput> resultSelector, bool throwIfEmpty, QueryAggregationOptions options)
System\Linq\Parallel\QueryOperators\Binary\GroupJoinQueryOperator.cs (4)
33private readonly Func<TLeftInput, TKey> m_leftKeySelector; // The key selection routine for the outer (left) data source. 34private readonly Func<TRightInput, TKey> m_rightKeySelector; // The key selection routine for the inner (right) data source. 43Func<TLeftInput, TKey> leftKeySelector, 44Func<TRightInput, TKey> rightKeySelector,
System\Linq\Parallel\QueryOperators\Binary\JoinQueryOperator.cs (4)
49private readonly Func<TLeftInput, TKey> m_leftKeySelector; // The key selection routine for the outer (left) data source. 50private readonly Func<TRightInput, TKey> m_rightKeySelector; // The key selection routine for the inner (right) data source. 59Func<TLeftInput, TKey> leftKeySelector, 60Func<TRightInput, TKey> rightKeySelector,
System\Linq\Parallel\QueryOperators\Unary\AnyAllSearchOperator.cs (4)
43private readonly Func<TInput, bool> m_predicate; // The predicate used to test membership. 55internal AnyAllSearchOperator(IEnumerable<TInput> child, bool qualification, Func<TInput, bool> predicate) 155private readonly Func<TInput, bool> m_predicate; // The predicate. 166Func<TInput, bool> predicate, int partitionIndex, Shared<bool> resultFoundFlag,
System\Linq\Parallel\QueryOperators\Unary\FirstQueryOperator.cs (4)
30private readonly Func<TSource, bool> m_predicate; // The optional predicate used during the search. 40internal FirstQueryOperator(IEnumerable<TSource> child, Func<TSource, bool> predicate) 126private Func<TSource, bool> m_predicate; // The optional predicate used during the search. 141QueryOperatorEnumerator<TSource, TKey> source, Func<TSource, bool> predicate,
System\Linq\Parallel\QueryOperators\Unary\GroupByQueryOperator.cs (12)
36private readonly Func<TSource, TGroupKey> m_keySelector; // Key selection function. 37private readonly Func<TSource, TElement> m_elementSelector; // Optional element selection function. 55Func<TSource, TGroupKey> keySelector, 56Func<TSource, TElement> elementSelector, 373private readonly Func<TSource, TElement> m_elementSelector; // Function to select elements. 381IEqualityComparer<TGroupKey> keyComparer, Func<TSource, TElement> elementSelector, CancellationToken cancellationToken) : 437private readonly Func<TSource, TGroupKey> m_keySelector; // The key selection routine. 454Func<TSource, TGroupKey> keySelector, IEqualityComparer<TGroupKey> keyComparer, IComparer<TOrderKey> orderComparer, 551Func<TSource, TGroupKey> keySelector, IEqualityComparer<TGroupKey> keyComparer, IComparer<TOrderKey> orderComparer, 618private readonly Func<TSource, TElement> m_elementSelector; // Function to select elements. 625Func<TSource, TGroupKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TGroupKey> keyComparer, IComparer<TOrderKey> orderComparer,
System\Linq\Parallel\QueryOperators\Unary\LastQueryOperator.cs (4)
31private readonly Func<TSource, bool> m_predicate; // The optional predicate used during the search. 41internal LastQueryOperator(IEnumerable<TSource> child, Func<TSource, bool> predicate) 122private Func<TSource, bool> m_predicate; // The optional predicate used during the search. 137QueryOperatorEnumerator<TSource, TKey> source, Func<TSource, bool> predicate,
System\Linq\Parallel\QueryOperators\Unary\SelectManyQueryOperator.cs (2)
39private readonly Func<TLeftInput, IEnumerable<TRightInput>> m_rightChildSelector; // To select a new child each iteration. 57Func<TLeftInput, IEnumerable<TRightInput>> rightChildSelector,
System\Linq\Parallel\QueryOperators\Unary\SelectQueryOperator.cs (5)
30private Func<TInput, TOutput> m_selector; 43internal SelectQueryOperator(IEnumerable<TInput> child, Func<TInput, TOutput> selector) 101private readonly Func<TInput, TOutput> m_selector; // The actual select function. 107internal SelectQueryOperatorEnumerator(QueryOperatorEnumerator<TInput, TKey> source, Func<TInput, TOutput> selector) 146private Func<TInput, TOutput> m_selector; // Selector function
System\Linq\Parallel\QueryOperators\Unary\SingleQueryOperator.cs (4)
31private readonly Func<TSource, bool> m_predicate; // The optional predicate used during the search. 40internal SingleQueryOperator(IEnumerable<TSource> child, Func<TSource, bool> predicate) 103private Func<TSource, bool> m_predicate; // The optional predicate used during the search. 115Func<TSource, bool> predicate, Shared<int> totalElementCount)
System\Linq\Parallel\QueryOperators\Unary\SortQueryOperator.cs (7)
28private readonly Func<TInputOutput, TSortKey> m_keySelector; // Key selector used when sorting. 35internal SortQueryOperator(IEnumerable<TInputOutput> source, Func<TInputOutput, TSortKey> keySelector, 66Func<TInputOutput, TKey2> key2Selector, IComparer<TKey2> key2Comparer, bool descending) 76Func<TInputOutput, Pair<TSortKey, TKey2>> pairKeySelector = 86internal Func<TInputOutput, TSortKey> KeySelector 202private readonly Func<TInputOutput, TSortKey> m_keySelector; // Key selector used when sorting. 210Func<TInputOutput, TSortKey> keySelector, IComparer<TSortKey> keyComparer)
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipWhileQueryOperator.cs (4)
49private Func<TResult, bool> m_predicate; 71Func<TResult, bool> predicate, 212private readonly Func<TResult, bool> m_predicate; // The actual predicate function. 233QueryOperatorEnumerator<TResult, TKey> source, Func<TResult, bool> predicate, Func<TResult, TKey, bool> indexedPredicate, bool take,
System\Linq\Parallel\QueryOperators\Unary\WhereQueryOperator.cs (4)
29private Func<TInputOutput, bool> m_predicate; 42internal WhereQueryOperator(IEnumerable<TInputOutput> child, Func<TInputOutput, bool> predicate) 110private readonly Func<TInputOutput, bool> m_predicate; // The predicate used for filtering. 118internal WhereQueryOperatorEnumerator(QueryOperatorEnumerator<TInputOutput, TKey> source, Func<TInputOutput, bool> predicate,
System\Linq\Parallel\Utils\ExceptionAggregator.cs (2)
136internal static Func<T, U> WrapFunc<T, U>(Func<T, U> f, CancellationState cancellationState)
System\Linq\Parallel\Utils\ExchangeUtilities.cs (2)
98PartitionedStream<TElement, TIgnoreKey> source, Func<TElement, THashKey> keySelector, IEqualityComparer<THashKey> keyComparer, 106PartitionedStream<TElement, TOrderKey> source, Func<TElement, THashKey> keySelector, IEqualityComparer<THashKey> keyComparer,
System\Linq\ParallelEnumerable.cs (109)
584public static ParallelQuery<TSource> Where<TSource>(this ParallelQuery<TSource> source, Func<TSource, bool> predicate) 628this ParallelQuery<TSource> source, Func<TSource, TResult> selector) 741Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, 771Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, 801Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, 838Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, 873Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, 904Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, 935Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, 973Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, 999this ParallelQuery<TSource> source, Func<TSource, IEnumerable<TResult>> selector) 1051this ParallelQuery<TSource> source, Func<TSource, IEnumerable<TCollection>> collectionSelector, 1122this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector) 1150this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, IComparer<TKey> comparer) 1177this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector) 1204this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, IComparer<TKey> comparer) 1233this OrderedParallelQuery<TSource> source, Func<TSource, TKey> keySelector) 1263this OrderedParallelQuery<TSource> source, Func<TSource, TKey> keySelector, IComparer<TKey> comparer) 1292this OrderedParallelQuery<TSource> source, Func<TSource, TKey> keySelector) 1322this OrderedParallelQuery<TSource> source, Func<TSource, TKey> keySelector, IComparer<TKey> comparer) 1347this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector) 1367this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, IEqualityComparer<TKey> comparer) 1394this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector) 1421this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey> comparer) 1460this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, Func<TKey, IEnumerable<TSource>, TResult> resultSelector) 1492this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, Func<TKey, IEnumerable<TSource>, TResult> resultSelector, IEqualityComparer<TKey> comparer) 1522this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, Func<TKey, IEnumerable<TElement>, TResult> resultSelector) 1553this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, Func<TKey, IEnumerable<TElement>, TResult> resultSelector, IEqualityComparer<TKey> comparer) 1762Func<TAccumulate, TResult> resultSelector) 1823Func<TAccumulate, TAccumulate, TAccumulate> combineAccumulatorsFunc, Func<TAccumulate, TResult> resultSelector) 1879Func<TAccumulate, TResult> resultSelector) 1958public static int Count<TSource>(this ParallelQuery<TSource> source, Func<TSource, bool> predicate) 2027public static long LongCount<TSource>(this ParallelQuery<TSource> source, Func<TSource, bool> predicate) 2270public static int Sum<TSource>(this ParallelQuery<TSource> source, Func<TSource, int> selector) 2294public static int? Sum<TSource>(this ParallelQuery<TSource> source, Func<TSource, int?> selector) 2318public static long Sum<TSource>(this ParallelQuery<TSource> source, Func<TSource, long> selector) 2342public static long? Sum<TSource>(this ParallelQuery<TSource> source, Func<TSource, long?> selector) 2364public static float Sum<TSource>(this ParallelQuery<TSource> source, Func<TSource, float> selector) 2386public static float? Sum<TSource>(this ParallelQuery<TSource> source, Func<TSource, float?> selector) 2408public static double Sum<TSource>(this ParallelQuery<TSource> source, Func<TSource, double> selector) 2430public static double? Sum<TSource>(this ParallelQuery<TSource> source, Func<TSource, double?> selector) 2454public static decimal Sum<TSource>(this ParallelQuery<TSource> source, Func<TSource, decimal> selector) 2478public static decimal? Sum<TSource>(this ParallelQuery<TSource> source, Func<TSource, decimal?> selector) 2756public static int Min<TSource>(this ParallelQuery<TSource> source, Func<TSource, int> selector) 2778public static int? Min<TSource>(this ParallelQuery<TSource> source, Func<TSource, int?> selector) 2803public static long Min<TSource>(this ParallelQuery<TSource> source, Func<TSource, long> selector) 2825public static long? Min<TSource>(this ParallelQuery<TSource> source, Func<TSource, long?> selector) 2850public static float Min<TSource>(this ParallelQuery<TSource> source, Func<TSource, float> selector) 2872public static float? Min<TSource>(this ParallelQuery<TSource> source, Func<TSource, float?> selector) 2897public static double Min<TSource>(this ParallelQuery<TSource> source, Func<TSource, double> selector) 2919public static double? Min<TSource>(this ParallelQuery<TSource> source, Func<TSource, double?> selector) 2944public static decimal Min<TSource>(this ParallelQuery<TSource> source, Func<TSource, decimal> selector) 2966public static decimal? Min<TSource>(this ParallelQuery<TSource> source, Func<TSource, decimal?> selector) 2992public static TResult Min<TSource, TResult>(this ParallelQuery<TSource> source, Func<TSource, TResult> selector) 3259public static int Max<TSource>(this ParallelQuery<TSource> source, Func<TSource, int> selector) 3281public static int? Max<TSource>(this ParallelQuery<TSource> source, Func<TSource, int?> selector) 3306public static long Max<TSource>(this ParallelQuery<TSource> source, Func<TSource, long> selector) 3328public static long? Max<TSource>(this ParallelQuery<TSource> source, Func<TSource, long?> selector) 3353public static float Max<TSource>(this ParallelQuery<TSource> source, Func<TSource, float> selector) 3375public static float? Max<TSource>(this ParallelQuery<TSource> source, Func<TSource, float?> selector) 3400public static double Max<TSource>(this ParallelQuery<TSource> source, Func<TSource, double> selector) 3422public static double? Max<TSource>(this ParallelQuery<TSource> source, Func<TSource, double?> selector) 3447public static decimal Max<TSource>(this ParallelQuery<TSource> source, Func<TSource, decimal> selector) 3469public static decimal? Max<TSource>(this ParallelQuery<TSource> source, Func<TSource, decimal?> selector) 3495public static TResult Max<TSource, TResult>(this ParallelQuery<TSource> source, Func<TSource, TResult> selector) 3749public static double Average<TSource>(this ParallelQuery<TSource> source, Func<TSource, int> selector) 3773public static double? Average<TSource>(this ParallelQuery<TSource> source, Func<TSource, int?> selector) 3800public static double Average<TSource>(this ParallelQuery<TSource> source, Func<TSource, long> selector) 3824public static double? Average<TSource>(this ParallelQuery<TSource> source, Func<TSource, long?> selector) 3849public static float Average<TSource>(this ParallelQuery<TSource> source, Func<TSource, float> selector) 3871public static float? Average<TSource>(this ParallelQuery<TSource> source, Func<TSource, float?> selector) 3896public static double Average<TSource>(this ParallelQuery<TSource> source, Func<TSource, double> selector) 3918public static double? Average<TSource>(this ParallelQuery<TSource> source, Func<TSource, double?> selector) 3943public static decimal Average<TSource>(this ParallelQuery<TSource> source, Func<TSource, decimal> selector) 3965public static decimal? Average<TSource>(this ParallelQuery<TSource> source, Func<TSource, decimal?> selector) 3992public static bool Any<TSource>(this ParallelQuery<TSource> source, Func<TSource, bool> predicate) 4044public static bool All<TSource>(this ParallelQuery<TSource> source, Func<TSource, bool> predicate) 4161public static ParallelQuery<TSource> TakeWhile<TSource>(this ParallelQuery<TSource> source, Func<TSource, bool> predicate) 4243public static ParallelQuery<TSource> SkipWhile<TSource>(this ParallelQuery<TSource> source, Func<TSource, bool> predicate) 4969this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector) 4998this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, IEqualityComparer<TKey> comparer) 5065this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector) 5100this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey> comparer) 5162this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector) 5187this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, IEqualityComparer<TKey> comparer) 5241this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector) 5273this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey> comparer) 5485public static TSource First<TSource>(this ParallelQuery<TSource> source, Func<TSource, bool> predicate) 5571public static TSource FirstOrDefault<TSource>(this ParallelQuery<TSource> source, Func<TSource, bool> predicate) 5662public static TSource Last<TSource>(this ParallelQuery<TSource> source, Func<TSource, bool> predicate) 5745public static TSource LastOrDefault<TSource>(this ParallelQuery<TSource> source, Func<TSource, bool> predicate) 5822public static TSource Single<TSource>(this ParallelQuery<TSource> source, Func<TSource, bool> predicate) 5879public static TSource SingleOrDefault<TSource>(this ParallelQuery<TSource> source, Func<TSource, bool> predicate)
System.Data (50)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDesignerOptionsAttribute.cs (1)
34public Func<ModelItem, DrawingBrush> OutlineViewIconProvider
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ArgumentAccessor.cs (1)
19public Func<Activity, Argument> Getter { get; set; }
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
715public Func<DesignObjectWrapper, object> PropertyGetter { get; set; }
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Metadata\ActivityArgumentHelper.cs (5)
23private static Dictionary<Type, Func<Activity, IEnumerable<ArgumentAccessor>>> argumentAccessorsGenerators = new Dictionary<Type, Func<Activity, IEnumerable<ArgumentAccessor>>>(); 30public static void RegisterAccessorsGenerator(Type activityType, Func<Activity, IEnumerable<ArgumentAccessor>> argumentAccessorsGenerator) 51internal static bool TryGetArgumentAccessorsGenerator(Type activityType, out Func<Activity, IEnumerable<ArgumentAccessor>> argumentAccessorsGenerator) 287Func<Activity, IEnumerable<ArgumentAccessor>> argumentAccessorsGenerator;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\AttachedProperty.cs (1)
76public Func<ModelItem, T> Getter
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (4)
437internal static IEnumerable<ModelItem> GetParentEnumerator(this ModelItem item, Func<ModelItem, bool> continueEnumerationPredicate) 455internal static string GetUniqueName(this ModelItemCollection collection, string nameDefaultPrefix, Func<ModelItem, string> nameGetter) 460internal static string GetUniqueName(this ModelItemDictionary dictionary, string nameDefaultPrefix, Func<ModelItem, string> nameGetter) 472internal static string GetUniqueName<T>(this IEnumerable<T> collection, string nameDefaultPrefix, Func<T, string> nameGetter)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (2)
472Func<DesignTimeArgument, bool> checkForDuplicates = new Func<DesignTimeArgument, bool>(p => string.Equals((string)p.ReflectedObject.Properties["Name"].ComputedValue, newName, StringComparison.OrdinalIgnoreCase) && !object.Equals(p.GetArgumentName(), identifierName)); 491Func<DesignTimeArgument, bool> checkForOldNameDuplicates = new Func<DesignTimeArgument, bool>(p => string.Equals((string)p.ReflectedObject.Properties["Name"].ComputedValue, oldName, StringComparison.OrdinalIgnoreCase) && !object.Equals(p.GetArgumentName(), identifier));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (2)
78Func<ResolveTemplateParams, bool> resolveDynamicTemplateCallback; 303public Func<ResolveTemplateParams, bool> ResolveDynamicTemplateCallback
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
137Func<WorkflowViewElement, BreakpointTypes> getBreakpointType; 140Func<int, bool> isCommandSupported;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (1)
182Func<double, bool> IsInvalid = x => (double.IsInfinity(x) || double.IsNaN(x) || double.Epsilon > x);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (5)
61Func<Type, bool> filter; 64public TypeBrowser(AssemblyContextControlItem assemblyContext, EditingContext context, Func<Type, bool> filter) 519Func<Type, bool> filter; 522public AssemblyNode(Assembly assembly, bool isLocal, Func<Type, bool> filter, EditingContext context) 573Func<Type, bool> typeFilter = this.filter;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeKeyValue.cs (2)
26Func<Type, bool> filter; 70public Func<Type, bool> Filter
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (3)
61typeof(Func<Type, bool>), 301public Func<Type, bool> Filter 303get { return (Func<Type, bool>)GetValue(FilterProperty); }
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeResolvingOptions.cs (4)
36public Func<Type, bool> Filter 103static Func<Type, bool> FuncAnd(Func<Type, bool> lhs, Func<Type, bool> rhs)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (4)
160Func<DesignTimeVariable, bool> checkForDuplicates = new Func<DesignTimeVariable, bool>(p => string.Equals((string)p.ReflectedObject.Properties["Name"].ComputedValue, newName, StringComparison.OrdinalIgnoreCase) && !object.Equals(p.GetVariableName(), identifierName)); 179Func<DesignTimeVariable, bool> checkForOldNameDuplicates = new Func<DesignTimeVariable, bool>(p => string.Equals((string)p.ReflectedObject.Properties["Name"].ComputedValue, oldName, StringComparison.OrdinalIgnoreCase) && !object.Equals(p.GetVariableName(), identifier)); 1411Func<ModelItem, bool> checkForDuplicates = 1436Func<ModelItem, bool> checkForDuplicates =
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
1961Func<ModelItem, bool> filterDelegate = new Func<ModelItem, bool>((variable) =>
fx\src\data\System\Data\Common\DataStorage.cs (1)
131private readonly static Func<Type, Tuple<bool, bool, bool, bool>> _inspectTypeForInterfaces = InspectTypeForInterfaces;
fx\src\data\System\Data\ProviderBase\DbReferenceCollection.cs (1)
122internal T FindItem<T>(int tag, Func<T, bool> filterMethod) where T : class {
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (8)
3968Func<Task, Task<bool>> moreFunc = null; 4029Func<Task, Task<int>> moreFunc = null; 4135Func<Task, Task<int>> moreFunc = null; 4284Func<Task, Task<bool>> moreFunc = null; 4407Func<Task, Task<bool>> moreFunc = null; 4508Func<Task, Task<T>> moreFunc = null; 4564private Task<T> ContinueRetryable<T>(Func<Task, Task<T>> moreFunc) { 4620private Task<T> InvokeRetryable<T>(Func<Task, Task<T>> moreFunc, TaskCompletionSource<T> source, IDisposable objectToDispose = null) {
fx\src\data\System\Data\SqlClient\SqlUtil.cs (1)
56Func<Exception, Exception> exceptionConverter = null,
System.Data.DataSetExtensions (38)
System\Data\EnumerableRowCollection.cs (13)
47private readonly List<Func<TRow, bool>> _listOfPredicates; 52private readonly Func<TRow, TRow> _selector; 99_listOfPredicates = new List<Func<TRow, bool>>(); 110_listOfPredicates = new List<Func<TRow, bool>>(); 118internal EnumerableRowCollection(EnumerableRowCollection<TRow> source, IEnumerable<TRow> enumerableRows, Func<TRow, TRow> selector) 130_listOfPredicates = new List<Func<TRow, bool>>(source._listOfPredicates); 135_listOfPredicates = new List<Func<TRow, bool>>(); 177Func<DataRow, bool> finalPredicate = null; //Conjunction of all .Where(..) predicates 190foreach (Func<TRow, bool> pred in _listOfPredicates) 217foreach (Func<TRow, bool> pred in _listOfPredicates) 314internal void AddPredicate(Func<TRow, bool> pred) 323internal void AddSortExpression<TKey>(Func<TRow, TKey> keySelector, bool isDescending, bool isOrderBy) 332Func<TRow, TKey> keySelector,
System\Data\EnumerableRowCollectionExtensions.cs (11)
29Func<TRow, bool> predicate) 42Func<TRow, TKey> keySelector) 56Func<TRow, TKey> keySelector, 70Func<TRow, TKey> keySelector) 84Func<TRow, TKey> keySelector, 99Func<TRow, TKey> keySelector) 116Func<TRow, TKey> keySelector, 134Func<TRow, TKey> keySelector) 151Func<TRow, TKey> keySelector, 171Func<TRow, S> selector) 182((object)selector) as Func<S,S>);
System\Data\LinqDataView.cs (1)
67Func<DataRow, bool> predicate_func,
System\Data\SortExpressionBuilder.cs (7)
50LinkedList<Func<T, object>> _selectors = new LinkedList<Func<T, object>>(); 53LinkedListNode<Func<T, object>> _currentSelector = null; 60internal void Add(Func<T, object> keySelector, Comparison<object> compare, bool isOrderBy) 92foreach (Func<T, object> selector in _selectors) 145foreach (Func<T, object> selector in _selectors) 180foreach (Func<T, object> selector in _selectors)
System\Data\TypedTableBaseExtensions.cs (6)
29Func<TRow, bool> predicate) where TRow : DataRow 41Func<TRow, TKey> keySelector) where TRow : DataRow 53Func<TRow, TKey> keySelector, 66Func<TRow, TKey> keySelector) where TRow : DataRow 78Func<TRow, TKey> keySelector, 94Func<TRow, S> selector) where TRow : DataRow
System.Data.Entity (288)
System\Data\Common\CommandTrees\DbLambda.cs (1)
98public static DbLambda Create(TypeUsage argument1Type, Func<DbExpression, DbExpression> lambdaFunction)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (4)
226private IList<TElement> VisitList<TElement>(IList<TElement> list, Func<TElement, TElement> map) 251private DbExpression VisitUnary(DbUnaryExpression expression, Func<DbExpression, DbExpression> callback) 323private DbExpression VisitTerminal(DbExpression expression, Func<TypeUsage, DbExpression> reconstructor) 630Func<DbExpression, DbExpression> resultConstructor;
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (24)
1776private static DbExpressionBinding ConvertToBinding<TResult>(DbExpression source, Func<DbExpression, TResult> argument, string argumentName, out TResult argumentResult) 1781private static DbExpressionBinding ConvertToBinding<TResult>(DbExpression source, string sourceName, Func<DbExpression, TResult> argument, string argumentName, out TResult argumentResult) 1907private static DbApplyExpression CreateApply(DbExpression source, Func<DbExpression, KeyValuePair<string, DbExpression>> apply, Func<DbExpressionBinding, DbExpressionBinding, DbApplyExpression> resultBuilder) 1933public static DbQuantifierExpression All(this DbExpression source, Func<DbExpression, DbExpression> predicate) 1982public static DbQuantifierExpression Any(this DbExpression source, Func<DbExpression, DbExpression> predicate) 2004public static DbApplyExpression CrossApply(this DbExpression source, Func<DbExpression, KeyValuePair<string, DbExpression>> apply) 2027public static DbApplyExpression OuterApply(this DbExpression source, Func<DbExpression, KeyValuePair<string, DbExpression>> apply) 2163public static DbJoinExpression Join(this DbExpression outer, DbExpression inner, Func<DbExpression, DbExpression> outerKey, Func<DbExpression, DbExpression> innerKey) 2222public static DbProjectExpression Join<TSelector>(this DbExpression outer, DbExpression inner, Func<DbExpression, DbExpression> outerKey, Func<DbExpression, DbExpression> innerKey, Func<DbExpression, DbExpression, TSelector> selector) 2258public static DbSortExpression OrderBy(this DbExpression source, Func<DbExpression, DbExpression> sortKey) 2285public static DbSortExpression OrderBy(this DbExpression source, Func<DbExpression, DbExpression> sortKey, string collation) 2310public static DbSortExpression OrderByDescending(this DbExpression source, Func<DbExpression, DbExpression> sortKey) 2337public static DbSortExpression OrderByDescending(this DbExpression source, Func<DbExpression, DbExpression> sortKey, string collation) 2368public static DbProjectExpression Select<TProjection>(this DbExpression source, Func<DbExpression, TProjection> projection) 2393public static DbProjectExpression SelectMany(this DbExpression source, Func<DbExpression, DbExpression> apply) 2437public static DbProjectExpression SelectMany<TSelector>(this DbExpression source, Func<DbExpression, DbExpression> apply, Func<DbExpression, DbExpression, TSelector> selector) 2490private static DbSortExpression CreateThenBy(DbSortExpression source, Func<DbExpression, DbExpression> sortKey, bool ascending, string collation, bool useCollation) 2531public static DbSortExpression ThenBy(this DbSortExpression source, Func<DbExpression, DbExpression> sortKey) 2557public static DbSortExpression ThenBy(this DbSortExpression source, Func<DbExpression, DbExpression> sortKey, string collation) 2581public static DbSortExpression ThenByDescending(this DbSortExpression source, Func<DbExpression, DbExpression> sortKey) 2607public static DbSortExpression ThenByDescending(this DbSortExpression source, Func<DbExpression, DbExpression> sortKey, string collation) 2629public static DbFilterExpression Where(this DbExpression source, Func<DbExpression, DbExpression> predicate)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (1)
175private static EnumerableValidator<TElementIn, TElementOut, TResult> CreateValidator<TElementIn, TElementOut, TResult>(IEnumerable<TElementIn> argument, string argumentName, Func<TElementIn, int, TElementOut> convertElement, Func<List<TElementOut>, TResult> createResult)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\EnumerableValidator.cs (3)
38private Func<List<TElementOut>, TResult> collect; 67public Func<List<TElementOut>, TResult> CreateResult { get { return this.collect; } set { this.collect = value; } } 103Func<List<TElementOut>, TResult> collect,
System\Data\Common\CommandTrees\Internal\PatternMatchRules.cs (45)
29private readonly Func<DbExpression, bool> isMatch; 30private readonly Func<DbExpression, DbExpression> process; 33private PatternMatchRule(Func<DbExpression, bool> matchFunc, Func<DbExpression, DbExpression> processor, ProcessedAction onProcessed) 59internal static PatternMatchRule Create(Func<DbExpression, bool> matchFunc, Func<DbExpression, DbExpression> processor) 67internal static PatternMatchRule Create(Func<DbExpression, bool> matchFunc, Func<DbExpression, DbExpression> processor, ProcessedAction onProcessed) 105internal static Func<DbExpression, DbExpression> Create(params PatternMatchRule[] rules) 123internal static Func<DbExpression, bool> And(Func<DbExpression, bool> pattern1, Func<DbExpression, bool> pattern2) 131internal static Func<DbExpression, bool> And(Func<DbExpression, bool> pattern1, Func<DbExpression, bool> pattern2, Func<DbExpression, bool> pattern3) 139internal static Func<DbExpression, bool> Or(Func<DbExpression, bool> pattern1, Func<DbExpression, bool> pattern2) 147internal static Func<DbExpression, bool> Or(Func<DbExpression, bool> pattern1, Func<DbExpression, bool> pattern2, Func<DbExpression, bool> pattern3) 168internal static Func<DbExpression, bool> AnyExpression { get { return (e => true); } } 173internal static Func<IEnumerable<DbExpression>, bool> AnyExpressions { get { return (elems => true); } } 188internal static Func<DbExpression, bool> MatchComplexType { get { return (e => TypeSemantics.IsComplexType(e.ResultType)); } } 193internal static Func<DbExpression, bool> MatchEntityType { get { return (e => TypeSemantics.IsEntityType(e.ResultType)); } } 198internal static Func<DbExpression, bool> MatchRowType { get { return (e => TypeSemantics.IsRowType(e.ResultType)); } } 207internal static Func<DbExpression, bool> MatchKind(DbExpressionKind kindToMatch) 215internal static Func<IEnumerable<DbExpression>, bool> MatchForAll(Func<DbExpression, bool> elementPattern) 252internal static Func<DbExpression, bool> MatchBinary() 269internal static Func<DbExpression, bool> MatchFilter(Func<DbExpression, bool> inputPattern, Func<DbExpression, bool> predicatePattern) 277internal static Func<DbExpression, bool> MatchProject(Func<DbExpression, bool> inputPattern, Func<DbExpression, bool> projectionPattern) 285internal static Func<DbExpression, bool> MatchCase(Func<IEnumerable<DbExpression>, bool> whenPattern, Func<IEnumerable<DbExpression>, bool> thenPattern, Func<DbExpression, bool> elsePattern) 293internal static Func<DbExpression, bool> MatchNewInstance() { return (e => e.ExpressionKind == DbExpressionKind.NewInstance); } 298internal static Func<DbExpression, bool> MatchNewInstance(Func<IEnumerable<DbExpression>, bool> argumentsPattern)
System\Data\Common\CommandTrees\Internal\Validator.cs (2)
141private TMetadata ValidateMetadata<TMetadata>(TMetadata metadata, Func<TMetadata, TMetadata> map, Func<TMetadata, DataSpace> getDataSpace, DataSpace[] allowedSpaces)
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (5)
62var simplifier = PatternMatchRuleProcessor.Create( 85private static readonly Func<DbExpression, bool> Pattern_EntityConstructor = 335private static readonly Func<DbExpression, bool> Pattern_NestedTphDiscriminator = 560private static readonly Func<DbExpression, bool> Pattern_Case = Patterns.MatchKind(DbExpressionKind.Case); 617private static readonly Func<DbExpression, bool> Pattern_CollapseNestedProjection =
System\Data\Common\EntitySql\FunctionOverloadResolver.cs (7)
53Func<TypeUsage, IEnumerable<TypeUsage>> flattenArgumentType, 84Func<TFunctionMetadata, IList<TFunctionParameterMetadata>> getSignatureParams, 85Func<TFunctionParameterMetadata, TypeUsage> getParameterTypeUsage, 86Func<TFunctionParameterMetadata, ParameterMode> getParameterMode, 87Func<TypeUsage, IEnumerable<TypeUsage>> flattenArgumentType, 194Func<TFunctionParameterMetadata, TypeUsage> getParameterTypeUsage, 195Func<TFunctionParameterMetadata, ParameterMode> getParameterMode,
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
1519Func<TParameterMetadata, TypeUsage> getParameterTypeUsage)
System\Data\Common\EntitySql\SemanticResolver.cs (4)
1014Func<TFunctionMetadata, IList<TFunctionParameterMetadata>> getSignatureParams, 1015Func<TFunctionParameterMetadata, TypeUsage> getParameterTypeUsage, 1016Func<TFunctionParameterMetadata, ParameterMode> getParameterMode, 1634internal void ApplyToScopeEntries(Func<ScopeEntry, ScopeEntry> action)
System\Data\Common\EntityUtil.cs (1)
1777static internal IEnumerable<T> CheckArgumentEmpty<T>(ref IEnumerable<T> enumerableArgument, Func<string, string> errorMessage, string argumentName)
System\Data\Common\Internal\Materialization\CompensatingCollection.cs (1)
67IOrderedEnumerable<TElement> IOrderedEnumerable<TElement>.CreateOrderedEnumerable<K>(Func<TElement, K> keySelector, IComparer<K> comparer, bool descending)
System\Data\Common\Internal\Materialization\CoordinatorFactory.cs (14)
29private static readonly Func<Shaper, bool> AlwaysTrue = s => true; 34private static readonly Func<Shaper, bool> AlwaysFalse = s => false; 55internal readonly Func<Shaper, bool> HasData; 60internal readonly Func<Shaper, bool> SetKeys; 65internal readonly Func<Shaper, bool> CheckKeys; 94protected CoordinatorFactory(int depth, int stateSlot, Func<Shaper, bool> hasData, Func<Shaper, bool> setKeys, Func<Shaper, bool> checkKeys, CoordinatorFactory[] nestedCoordinators, RecordStateFactory[] recordStateFactories) 172internal readonly Func<Shaper, IEntityWrapper> WrappedElement; 178internal readonly Func<Shaper, TElement> Element; 184internal readonly Func<Shaper, TElement> ElementWithErrorHandling; 189internal readonly Func<Shaper, ICollection<TElement>> InitializeCollection; 246private static Func<Shaper, bool> CompilePredicate(Expression predicate) 248Func<Shaper, bool> result;
System\Data\Common\Internal\Materialization\RecordStateFactory.cs (1)
51internal readonly Func<Shaper, bool> GatherData;
System\Data\Common\Internal\Materialization\Shaper.cs (5)
110public TElement Discriminate<TElement>(object[] discriminatorValues, Func<object[], EntityType> discriminate, KeyValuePair<EntityType, Func<Shaper, TElement>>[] elementDelegates) 113Func<Shaper, TElement> elementDelegate = null; 114foreach (KeyValuePair<EntityType, Func<Shaper, TElement>> typeDelegatePair in elementDelegates) 181public IEntityWrapper HandleEntityAppendOnly<TEntity>(Func<Shaper, IEntityWrapper> constructEntityDelegate, EntityKey entityKey, EntitySet entitySet)
System\Data\Common\Internal\Materialization\Translator.cs (10)
254internal static Func<Shaper, TResult> Compile<TResult>(Expression body) 256var lambda = Expression.Lambda<Func<Shaper, TResult>>(body, Shaper_Parameter); 524private Expression<Func<Shaper, T>> TypedCreateInlineDelegate<T>(Expression body) 526Expression<Func<Shaper, T>> result = Expression.Lambda<Func<Shaper, T>>(body, Shaper_Parameter); 796typeof(Func<object, IPropertyAccessorStrategy>), typeof(Func<object, IChangeTrackingStrategy>), typeof(Func<object, IEntityKeyStrategy>) }, null); 1503Type typeDelegatePairType = typeof(KeyValuePair<EntityType, Func<Shaper, TElement>>); 1504ConstructorInfo typeDelegatePairConstructor = typeDelegatePairType.GetConstructor(new Type[] { typeof(EntityType), typeof(Func<Shaper, TElement>) });
System\Data\Common\Utils\Boolean\Visitor.cs (2)
189private readonly Func<TermExpr<T_From>, BoolExpr<T_To>> _translator; 195internal BooleanExpressionTermRewriter(Func<TermExpr<T_From>, BoolExpr<T_To>> translator)
System\Data\Common\Utils\Helpers.cs (2)
159internal static IEnumerable<TNode> GetLeafNodes<TNode>(TNode root, Func<TNode, bool> isLeaf, Func<TNode, IEnumerable<TNode>> getImmediateSubNodes)
System\Data\Common\Utils\Memoizer.cs (2)
22private readonly Func<TArg, TResult> _function; 32internal Memoizer(Func<TArg, TResult> function, IEqualityComparer<TArg> argComparer)
System\Data\EntityClient\EntityCommand.cs (1)
509private T_Result ExecuteScalar<T_Result>(Func<DbDataReader, T_Result> resultSelector)
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (1)
431protected ReturnValue<string> HandleDottedNameAttribute(XmlReader reader, string field, Func<object, string> errorFormat)
System\Data\EntityModel\SchemaObjectModel\SchemaElementLookUpTable.cs (1)
144public void Add(T type, bool doNotAddErrorForEmptyName, Func<object, string> duplicateKeyErrorFormat)
System\Data\Mapping\FunctionImportMappingComposable.cs (1)
450Func<DbExpression, DbExpression> scalarView = (DbExpression row) =>
System\Data\Mapping\StorageMappingItemLoader.cs (3)
928Func<EntityType, string> typeNotAssignableMessage, 1964Func<EntityType, string> registerEntityTypeMismatchError, 3390private static EdmSchemaError AddToSchemaErrorsWithMemberInfo(Func<object, string> messageFormat, string errorMember, StorageMappingErrorCode errorCode, string location, IXmlLineInfo lineInfo, IList<EdmSchemaError> parsingErrors)
System\Data\Mapping\Update\Internal\KeyManager.cs (1)
229private IEnumerable<int> WalkGraph(int identifier, Func<IdentifierInfo, LinkedList<int>> successorFunction, bool leavesOnly)
System\Data\Mapping\Update\Internal\PropagatorResult.cs (5)
198internal abstract PropagatorResult Replace(Func<PropagatorResult, PropagatorResult> map); 311internal override PropagatorResult Replace(Func<PropagatorResult, PropagatorResult> map) 558internal override PropagatorResult Replace(Func<PropagatorResult, PropagatorResult> map) 564protected PropagatorResult[] ReplaceValues(Func<PropagatorResult, PropagatorResult> map) 596internal override PropagatorResult Replace(Func<PropagatorResult, PropagatorResult> map)
System\Data\Mapping\Update\Internal\ViewLoader.cs (1)
128private TResult SyncInitializeEntitySet<TArg, TResult>(EntitySetBase entitySetBase, MetadataWorkspace workspace, Func<TArg, TResult> evaluate, TArg arg)
System\Data\Mapping\ViewGeneration\Structures\MemberRestriction.cs (5)
245Func<object, string> resourceName0 = null; 252resourceName0 = isTypeConstant ? (Func<object, string>)Strings.ViewGen_OneOfConst_IsNonNullable : (Func<object, string>)Strings.ViewGen_OneOfConst_MustBeNonNullable; 267resourceName0 = isTypeConstant ? (Func<object, string>)Strings.ViewGen_OneOfConst_MustBeNull : (Func<object, string>)Strings.ViewGen_OneOfConst_MustBeNull;
System\Data\Metadata\CustomAssemblyResolver.cs (2)
18private Func<AssemblyName, Assembly> _referenceResolver; 21internal CustomAssemblyResolver(Func<IEnumerable<Assembly>> wildcardAssemblyEnumerator, Func<AssemblyName, Assembly> referenceResolver)
System\Data\Metadata\Edm\EdmFunction.cs (2)
370Func<TParameterMetadata, TypeUsage> getParameterTypeUsage, 371Func<TParameterMetadata, ParameterMode> getParameterMode)
System\Data\Metadata\Edm\EdmProperty.cs (2)
48private Func<object,object> _memberGetter; 126internal Func<object,object> ValueGetter {
System\Data\Metadata\Edm\FunctionParameter.cs (1)
22internal static Func<FunctionParameter, SafeLink<EdmFunction>> DeclaringFunctionLinker = fp => fp._declaringFunction;
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (5)
43Func<object, object> getter = GetGetterDelegateForProperty(property); 49internal static Func<object,object> GetGetterDelegateForProperty(EdmProperty property) 186private static Func<object, object> CreatePropertyGetter(RuntimeTypeHandle entityDeclaringType, RuntimeMethodHandle rmh) 261return (Func<object, object>)method.CreateDelegate(typeof(Func<object, object>));
System\Data\Metadata\Edm\NavigationPropertyAccessor.cs (2)
35private Func<object, object> _memberGetter; 57public Func<object, object> ValueGetter
System\Data\Metadata\Edm\SafeLink.cs (2)
22internal static IEnumerable<TChild> BindChildren<TChild>(TParent parent, Func<TChild, SafeLink<TParent>> getLink, IEnumerable<TChild> children) 32internal static TChild BindChild<TChild>(TParent parent, Func<TChild, SafeLink<TParent>> getLink, TChild child)
System\Data\Metadata\Edm\SafeLinkCollection.cs (1)
27public SafeLinkCollection(TParent parent, Func<TChild, SafeLink<TParent>> getLink, MetadataCollection<TChild> children)
System\Data\Metadata\Edm\TypeUsage.cs (2)
536Func<T, FacetDescription> getDescription, 537Func<T, Facet> getFacet,
System\Data\Metadata\MetadataWorkspace.cs (2)
63Func<AssemblyName, Assembly> resolveReference = (AssemblyName referenceName)=> 81private void CreateMetadataWorkspaceWithResolver(IEnumerable<string> paths, Func<IEnumerable<Assembly>> wildcardAssemblies, Func<AssemblyName, Assembly> resolveReference)
System\Data\Metadata\TypeSemantics.cs (2)
179Func<TypeUsage, bool> isLeaf = t => !Helper.IsTransientType(t.EdmType); 181Func<TypeUsage, IEnumerable<TypeUsage>> getImmediateSubNodes =
System\Data\Objects\CompiledQuery.cs (2)
371public static Func<TArg0, TResult> Compile<TArg0, TResult>(Expression<Func<TArg0, TResult>> query) where TArg0 : ObjectContext
System\Data\Objects\DataClasses\RelatedEnd.cs (1)
1909internal static bool VerifyRIConstraintsWithRelatedEntry(ReferentialConstraint constraint, Func<string, object> getDependentPropertyValue, EntityKey principalKey)
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (3)
384internal static Expression Visit(Expression exp, Func<Expression, Func<Expression, Expression>, Expression> visit) 392private readonly Func<Expression, Func<Expression, Expression>, Expression> _visit; 393internal BasicExpressionVisitor(Func<Expression, Func<Expression, Expression>, Expression> visit)
System\Data\Objects\ELinq\Funcletizer.cs (10)
117Func<Expression, bool> isClientConstant; 118Func<Expression, bool> isClientVariable; 176private static Func<Expression, bool> Nominate(Expression expression, Func<Expression, bool> localCriterion) 181Func<Expression, Func<Expression, Expression>, Expression> visit = (exp, baseVisit) => 324private readonly Func<Expression, bool> _isClientConstant; 325private readonly Func<Expression, bool> _isClientVariable; 330Func<Expression, bool> isClientConstant, 331Func<Expression, bool> isClientVariable) 662internal QueryParameterExpression EscapeParameterForLike(Func<string, string> method)
System\Data\Objects\ELinq\ObjectQueryProvider.cs (1)
194private static Func<IEnumerable<TResult>, TResult> GetElementFunction<TResult>(Expression queryRoot)
System\Data\Objects\ELinq\SpatialMethodCallTranslator.cs (1)
52private static MethodInfo GetInstanceMethod<T, TResult>(Expression<Func<T, TResult>> lambda)
System\Data\Objects\ELinq\SpatialPropertyTranslator.cs (1)
42private static PropertyInfo GetProperty<T, TResult>(Expression<Func<T, TResult>> lambda)
System\Data\Objects\ELinq\TypeSystem.cs (1)
67case 1: delegateType = typeof(Func<,>); break;
System\Data\Objects\Internal\ComplexTypeMaterializer.cs (1)
165internal readonly Func<object, object> GetExistingComplex;
System\Data\Objects\Internal\EntityProxyFactory.cs (4)
307public Func<object, object> CreateBaseGetter(Type declaringType, PropertyInfo propertyInfo) 312Func<object, object> nonProxyGetter = Expression.Lambda<Func<object, object>>( 509private static Action<object> GetResetFKSetterFlagDelegate(Func<object, object> getEntityWrapperDelegate)
System\Data\Objects\Internal\EntityProxyTypeInfo.cs (5)
37private readonly Func<object, object> Proxy_GetEntityWrapper; 84Expression<Func<object, object>> lambda = Expression.Lambda<Func<object, object>>( 88Func<object, object> getEntityWrapperDelegate = lambda.Compile(); 213internal Func<object, object> EntityWrapperDelegate
System\Data\Objects\Internal\EntityWrapper.cs (18)
42Func<object, IPropertyAccessorStrategy> propertyStrategy, Func<object, IChangeTrackingStrategy> changeTrackingStrategy, Func<object, IEntityKeyStrategy> keyStrategy) 56internal EntityWrapperWithoutRelationships(TEntity entity, Func<object, IPropertyAccessorStrategy> propertyStrategy, Func<object, IChangeTrackingStrategy> changeTrackingStrategy, Func<object, IEntityKeyStrategy> keyStrategy) 103Func<object, IPropertyAccessorStrategy> propertyStrategy, Func<object, IChangeTrackingStrategy> changeTrackingStrategy, Func<object, IEntityKeyStrategy> keyStrategy) 117internal EntityWrapperWithRelationships(TEntity entity, Func<object, IPropertyAccessorStrategy> propertyStrategy, Func<object, IChangeTrackingStrategy> changeTrackingStrategy, Func<object, IEntityKeyStrategy> keyStrategy) 162Func<object, IPropertyAccessorStrategy> propertyStrategy, Func<object, IChangeTrackingStrategy> changeTrackingStrategy, Func<object, IEntityKeyStrategy> keyStrategy) 195Func<object, IPropertyAccessorStrategy> propertyStrategy, Func<object, IChangeTrackingStrategy> changeTrackingStrategy, Func<object, IEntityKeyStrategy> keyStrategy)
System\Data\Objects\Internal\EntityWrapperFactory.cs (22)
29private static readonly Memoizer<Type, Func<object, IEntityWrapper>> _delegateCache = new Memoizer<Type, Func<object, IEntityWrapper>>(CreateWrapperDelegate, null); 80private static Func<object, IEntityWrapper> CreateWrapperDelegate(Type entityType) 105return (Func<object, IEntityWrapper>)createDelegate.Invoke(null, new object[0]); 109private static Func<object, IEntityWrapper> CreateWrapperDelegateTypedLightweight<TEntity>() 116private static Func<object, IEntityWrapper> CreateWrapperDelegateTypedWithRelationships<TEntity>() 119Func<object, IPropertyAccessorStrategy> propertyAccessorStrategy; 120Func<object, IEntityKeyStrategy> keyStrategy; 121Func<object, IChangeTrackingStrategy> changeTrackingStrategy; 128private static Func<object, IEntityWrapper> CreateWrapperDelegateTypedWithoutRelationships<TEntity>() 130Func<object, IPropertyAccessorStrategy> propertyAccessorStrategy; 131Func<object, IEntityKeyStrategy> keyStrategy; 132Func<object, IChangeTrackingStrategy> changeTrackingStrategy; 139private static void CreateStrategies<TEntity>(out Func<object, IPropertyAccessorStrategy> createPropertyAccessorStrategy, 140out Func<object, IChangeTrackingStrategy> createChangeTrackingStrategy, 141out Func<object, IEntityKeyStrategy> createKeyStrategy) 313internal static Func<object, IPropertyAccessorStrategy> GetPocoPropertyAccessorStrategyFunc() 322internal static Func<object, IPropertyAccessorStrategy> GetNullPropertyAccessorStrategyFunc() 331internal static Func<object, IChangeTrackingStrategy> GetEntityWithChangeTrackerStrategyFunc() 340internal static Func<object, IChangeTrackingStrategy> GetSnapshotChangeTrackingStrategyFunc() 349internal static Func<object, IEntityKeyStrategy> GetEntityWithKeyStrategyStrategyFunc() 358internal static Func<object, IEntityKeyStrategy> GetPocoEntityKeyStrategyFunc()
System\Data\Objects\Internal\LazyLoadBehavior.cs (1)
52internal static Func<TProxy, TItem, bool> GetInterceptorDelegate<TProxy, TItem>(EdmMember member, Func<object, object> getEntityWrapperDelegate)
System\Data\Objects\ObjectContext.cs (3)
783public void LoadProperty<TEntity>(TEntity entity, Expression<Func<TEntity, object>> selector) 808public void LoadProperty<TEntity>(TEntity entity, Expression<Func<TEntity, object>> selector, MergeOption mergeOption) 837internal static string ParsePropertySelectorExpression<TEntity>(Expression<Func<TEntity, object>> selector, out bool removedConvert)
System\Data\Objects\ObjectStateManager.cs (1)
2227Expression<Func<TEntity, object>> navigationPropertySelector,
System\Data\Query\InternalTrees\ColumnMap.cs (3)
443private readonly Func<object[], md.EntityType> m_discriminate; 453Func<object[], md.EntityType> discriminate) 481internal Func<object[], md.EntityType> Discriminate
System\Data\Query\InternalTrees\Command.cs (1)
432private ParameterVar ReplaceParameterVar(ParameterVar oldVar, Func<TypeUsage, TypeUsage> generateReplacementType)
System\Data\SqlClient\IDbSpatialValue.cs (4)
78private TResult NullIfNotImplemented<TResult>(Func<DbGeography, TResult> accessor) 91private int? NullIfNotImplemented(Func<DbGeography, int> accessor) 148private TResult NullIfNotImplemented<TResult>(Func<DbGeometry, TResult> accessor) 161private int? NullIfNotImplemented(Func<DbGeometry, int> accessor)
System\Data\SqlClient\SqlSpatialDataReader.cs (7)
51private static readonly Singleton<Func<BinaryReader, object>> sqlGeographyFromBinaryReader = new Singleton<Func<BinaryReader, object>>(() => CreateBinaryReadDelegate(SqlProviderServices.GetSqlTypesAssembly().SqlGeographyType)); 52private static readonly Singleton<Func<BinaryReader, object>> sqlGeometryFromBinaryReader = new Singleton<Func<BinaryReader, object>>(() => CreateBinaryReadDelegate(SqlProviderServices.GetSqlTypesAssembly().SqlGeometryType)); 85private static Func<BinaryReader, object> CreateBinaryReadDelegate(Type spatialType) 93var ex = Expression.Lambda<Func<BinaryReader, object>>( 103Func<BinaryReader, object> result = ex.Compile();
System\Data\SqlClient\SqlTypesAssembly.cs (21)
33internal static Expression<Func<TArg, TResult>> Lambda<TArg, TResult>(string argumentName, Func<ParameterExpression, Expression> createLambdaBodyGivenParameter) 37return Expression.Lambda<Func<TArg, TResult>>(lambdaBody, argParam); 248private readonly Func<object, bool> sqlBooleanToBoolean; 254private readonly Func<object, bool?> sqlBooleanToNullableBoolean; 265private readonly Func<byte[], object> sqlBytesFromByteArray; 271private readonly Func<object, byte[]> sqlBytesToByteArray; 282private readonly Func<string, object> sqlStringFromString; 288private readonly Func<string, object> sqlCharsFromString; 294private readonly Func<object, string> sqlCharsToString; 304private readonly Func<object, string> sqlStringToString; 314private readonly Func<object, double> sqlDoubleToDouble; 320private readonly Func<object, double?> sqlDoubleToNullableDouble; 330private readonly Func<object, int> sqlInt32ToInt; 336private readonly Func<object, int?> sqlInt32ToNullableInt; 346private readonly Func<System.Xml.XmlReader, object> sqlXmlFromXmlReader; 353private readonly Func<object, string> sqlXmlToString; 364private readonly Func<object, bool> isSqlGeographyNull; 375private readonly Func<object, bool> isSqlGeometryNull; 386private readonly Func<object, object> geographyAsTextZMAsSqlChars; 399private readonly Func<object, object> geometryAsTextZMAsSqlChars;
System.Data.Entity.Design (6)
System\Data\Entity\Design\Common\UniqueIdentifierService.cs (2)
32internal UniqueIdentifierService(bool caseSensitive, Func<string, string> transform) 42private readonly Func<string, string> _transform;
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (1)
916Func<RelationshipDetailsRow, string> getColumnName)
System\Data\Entity\Design\PluralizationService\EnglishPluralizationService.cs (1)
804private string Capitalize(string word, Func<string, string> action)
System\Data\Entity\Design\PluralizationService\PluralizationServiceUtil.cs (1)
24internal static bool TryInflectOnSuffixInWord(string word, IEnumerable<string> suffixes, Func<string, string> operationOnWord, CultureInfo culture, out string newWord)
System\Data\Entity\Design\SSDLGenerator\EntityStoreSchemaGeneratorDatabaseSchemaLoader.cs (1)
168private IEnumerable<DataRow> LoadDataTable(string sql, Func<IEnumerable<DataRow>, IEnumerable<DataRow>> orderByFunc, DataTable table, EntityStoreSchemaFilterObjectTypes queryTypes, IEnumerable<EntityStoreSchemaFilterEntry> filters, params string[] filterAliases)
System.Data.Linq (22)
CompiledQuery.cs (2)
35public static Func<TArg0, TResult> Compile<TArg0, TResult>(Expression<Func<TArg0, TResult>> query) where TArg0 : DataContext {
DataShape.cs (2)
22public void LoadWith<T>(Expression<Func<T, object>> expression) { 46public void AssociateWith<T>(Expression<Func<T, object>> expression) {
Provider\IProvider.cs (6)
145public static TResult Insert<TEntity, TResult>(TEntity item, Func<TEntity, TResult> resultSelector) { 172public static TResult Update<TEntity, TResult>(TEntity item, Func<TEntity, bool> check, Func<TEntity, TResult> resultSelector) { 186public static TResult Update<TEntity, TResult>(TEntity item, Func<TEntity, TResult> resultSelector) { 199public static int Update<TEntity>(TEntity item, Func<TEntity, bool> check) { 223public static int Delete<TEntity>(TEntity item, Func<TEntity, bool> check) {
SqlClient\Query\QueryConverter.cs (1)
379typeof(Func<,>).MakeGenericType(typeof(object[]), p.Type),
SqlClient\Query\SqlBinder.cs (3)
26Func<SqlNode, SqlNode> prebinder; 37internal Func<SqlNode, SqlNode> PreBinder { 939typeof(Func<,>).MakeGenericType(typeof(object[]), m.ClrType),
SqlClient\Reader\ObjectReaderCompiler.cs (8)
205Type fnMatType = typeof(Func<,>).MakeGenericType(typeof(ObjectMaterializer<>).MakeGenericType(this.dataReaderType), elementType); 2434Func<ObjectMaterializer<TDataReader>, TObject> fnMaterialize; 2440Func<ObjectMaterializer<TDataReader>, TObject> fnMaterialize, 2627Func<ObjectMaterializer<TDataReader>, TObject> fnMaterialize; 2638Func<ObjectMaterializer<TDataReader>, TObject> fnMaterialize 2854Func<ObjectMaterializer<TDataReader>, TObject> fnMaterialize, 2867Func<ObjectMaterializer<TDataReader>, TObject> fnMaterialize, 2993IOrderedEnumerable<T> IOrderedEnumerable<T>.CreateOrderedEnumerable<K>(Func<T, K> keySelector, IComparer<K> comparer, bool descending) {
System.Data.Services (17)
System\Data\Services\DataServiceConfiguration.cs (2)
906Type lambdaType = typeof(Func<,>).MakeGenericType(container.ResourceType.InstanceType, typeof(bool)); 915Type nullableLambdaType = typeof(Func<,>).MakeGenericType(container.ResourceType.InstanceType, typeof(bool?));
System\Data\Services\Providers\BasicExpandProvider.cs (2)
338.Invoke(null, new object[] { (IQueryable<TSource>)query, (Expression<Func<TSource, TKey>>)orderExpression }); 1418Type delegateType = typeof(Func<,>).MakeGenericType(typeArguments);
System\Data\Services\Providers\ObjectContextServiceProvider.cs (2)
2365container.ReadFromContextDelegate = (Func<object, IQueryable>)readerMethod.CreateDelegate(typeof(Func<object, IQueryable>));
System\Data\Services\Providers\ReflectionServiceProvider.cs (2)
325resourceContainer.ReadFromContextDelegate = (Func<object, IQueryable>)readerMethod.CreateDelegate(typeof(Func<object, IQueryable>));
System\Data\Services\Providers\ResourceContainer.cs (2)
37private Func<object, System.Linq.IQueryable> readFromContextDelegate; 99internal Func<object, System.Linq.IQueryable> ReadFromContextDelegate
System\Data\Services\RequestUriProcessor.cs (6)
996Expression<Func<TSource, TResult>> typedSelector = (Expression<Func<TSource, TResult>>)selector; 1012Expression<Func<TSource, IEnumerable<TResult>>> typedSelector = (Expression<Func<TSource, IEnumerable<TResult>>>)selector; 1036Expression<Func<TSource, bool>> typedPredicate = (Expression<Func<TSource, bool>>)predicate;
System\Data\Services\WebUtil.cs (1)
1328internal static Type GetWrapperType(Type[] wrapperParameters, Func<object, String> errorGenerator)
System.Data.Services.Client (36)
System\Data\Services\Client\ALinq\Evaluator.cs (3)
75internal static Expression PartialEval(Expression expression, Func<Expression, bool> canBeEvaluated) 192private Func<Expression, bool> functionCanBeEvaluated; 207internal Nominator(Func<Expression, bool> functionCanBeEvaluated)
System\Data\Services\Client\ALinq\ProjectionRewriter.cs (1)
70Type delegateType = typeof(Func<,>).MakeGenericType(new Type[] { newLambdaParameter.Type, lambda.Body.Type });
System\Data\Services\Client\ArraySet.cs (3)
129public int IndexOf<K>(K item, Func<T, K> select, Func<K, K, bool> comparer) 193public void Sort<K>(Func<T, K> selector, Func<K, K, int> comparer) 223internal Func<T, K> Selector;
System\Data\Services\Client\AtomParser.cs (2)
60private readonly Func<XmlReader, KeyValuePair<XmlReader, object>> entryCallback; 97internal AtomParser(XmlReader reader, Func<XmlReader, KeyValuePair<XmlReader, object>> entryCallback, string typeScheme, string currentDataNamespace)
System\Data\Services\Client\Binding\BindingGraph.cs (1)
691public IList<object> Select(Func<object, bool> filter)
System\Data\Services\Client\Binding\BindingObserver.cs (4)
43internal BindingObserver(DataServiceContext context, Func<EntityChangedParams, bool> entityChanged, Func<EntityCollectionChangedParams, bool> collectionChanged) 88internal Func<EntityChangedParams, bool> EntityChanged 103internal Func<EntityCollectionChangedParams, bool> CollectionChanged
System\Data\Services\Client\Binding\DataServiceCollectionOfT.cs (12)
59private Func<EntityChangedParams, bool> entityChangedCallback; 62private Func<EntityCollectionChangedParams, bool> collectionChangedCallback; 121Func<EntityChangedParams, bool> entityChangedCallback, 122Func<EntityCollectionChangedParams, bool> collectionChangedCallback) 137Func<EntityChangedParams, bool> entityChangedCallback, 138Func<EntityCollectionChangedParams, bool> collectionChangedCallback) 155Func<EntityChangedParams, bool> entityChangedCallback, 156Func<EntityCollectionChangedParams, bool> collectionChangedCallback) 211Func<EntityChangedParams, bool> entityChangedCallback, 212Func<EntityCollectionChangedParams, bool> collectionChangedCallback) 673Func<EntityChangedParams, bool> entityChanged, 674Func<EntityCollectionChangedParams, bool> collectionChanged)
System\Data\Services\Client\DataServiceContext.cs (6)
66private Func<Type, string> resolveName; 69private Func<string, Type> resolveType; 320public Func<Type, string> ResolveName 337public Func<string, Type> ResolveType 2164Func<string, Type> resolve = this.ResolveType; 2199Func<Type, string> resolve = this.ResolveName;
System\Data\Services\Client\ProjectionPlanCompiler.cs (4)
864Expression.Constant(null, typeof(Func<EntityChangedParams, bool>)), 865Expression.Constant(null, typeof(Func<EntityCollectionChangedParams, bool>))); 882Expression.Constant(null, typeof(Func<EntityChangedParams, bool>)), 883Expression.Constant(null, typeof(Func<EntityCollectionChangedParams, bool>)));
System.Data.Services.Design (4)
System\Data\Common\Utils\Memoizer.cs (2)
22private readonly Func<TArg, TResult> _function; 32internal Memoizer(Func<TArg, TResult> function, IEqualityComparer<TArg> argComparer)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (2)
201TypeReference.ForType(typeof(Func<,>), TypeReference.ForType(typeof(Type)), TypeReference.ForType(typeof(String))), 215TypeReference.ForType(typeof(Func<,>), TypeReference.ForType(typeof(String)), TypeReference.ForType(typeof(Type))),
System.IdentityModel (1)
System\IdentityModel\Tokens\KeyInfoSerializer.cs (1)
52Func<KeyInfoSerializer, IEnumerable<SerializerEntries>> additionalEntries)
System.Security (3)
system\security\cryptography\xml\signedxml.cs (2)
51private Func<SignedXml, bool> m_signatureFormatValidator = DefaultSignatureFormatValidator; 162public Func<SignedXml, bool> SignatureFormatValidator {
system\security\cryptography\xml\SignedXmlDebugLog.cs (1)
309internal static void LogBeginCheckSignatureFormat(SignedXml signedXml, Func<SignedXml, bool> formatValidator) {
System.ServiceModel (12)
System\ServiceModel\Channels\DefaultWebSocketConnectionHandler.cs (4)
25Func<string, bool> checkVersionFunc; 26Func<string, bool> checkContentTypeFunc; 27Func<string, bool> checkTransferModeFunc; 176static bool CheckHttpHeader(HttpRequestMessage request, string header, Func<string, bool> validator)
System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
274Func<IAsyncResult, T> endCallDelegate = (asyncResult) =>
System\ServiceModel\Channels\SharedConnectionListener.cs (3)
39Func<Uri, int> onDuplicatedViaCallback; 43Func<Uri, int> onDuplicatedViaCallback) 325Func<Uri, int> onDuplicatedViaCallback;
System\ServiceModel\Channels\SharedTcpTransportManager.cs (1)
22Func<Uri, int> onDuplicatedViaCallback;
System\ServiceModel\Channels\SocketConnection.cs (1)
2029bool InternalBeginAccept(Func<Socket, bool> acceptAsyncFunc)
System\ServiceModel\Configuration\SecurityElementBase.cs (1)
839Func<PropertyInformation, bool> nontrivialProperty = property => property.ValueOrigin == PropertyValueOrigin.SetHere;
System\ServiceModel\Security\WsKeyInfoSerializer.cs (1)
17static Func<KeyInfoSerializer, IEnumerable<SecurityTokenSerializer.SerializerEntries>> CreateAdditionalEntries(SecurityVersion securityVersion, SecureConversationVersion secureConversationVersion)
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\HostedNamedPipeTransportManager.cs (1)
22Func<Uri, int> onDuplicatedViaCallback;
System.ServiceModel.Internals (2)
System\Runtime\AsyncResult.cs (2)
25Func<IAsyncResult, bool> checkSyncValidationFunc; 266protected void SetCheckSyncValidationFunc(Func<IAsyncResult, bool> checkSyncValidationFunc)
System.Web (45)
Abstractions\HttpContextBase.cs (2)
239public virtual void AcceptWebSocketRequest(Func<AspNetWebSocketContext, Task> userFunc) { 243public virtual void AcceptWebSocketRequest(Func<AspNetWebSocketContext, Task> userFunc, AspNetWebSocketOptions options) {
Abstractions\HttpContextWrapper.cs (2)
246public override void AcceptWebSocketRequest(Func<AspNetWebSocketContext, Task> userFunc) { 250public override void AcceptWebSocketRequest(Func<AspNetWebSocketContext, Task> userFunc, AspNetWebSocketOptions options) {
AspNetSynchronizationContext.cs (1)
134internal void PostAsync(Func<object, Task> callback, Object state) {
Hosting\BackgroundWorkScheduler.cs (3)
33private async void RunWorkItemImpl(Func<CancellationToken, Task> workItem) { 58public void ScheduleWorkItem(Func<CancellationToken, Task> workItem) { 76RunWorkItemImpl((Func<CancellationToken, Task>)state);
Hosting\HostingEnvironment.cs (2)
1175public static void QueueBackgroundWorkItem(Func<CancellationToken, Task> workItem) { 1186private void QueueBackgroundWorkItemInternal(Func<CancellationToken, Task> workItem) {
HttpContext.cs (2)
278public void AcceptWebSocketRequest(Func<AspNetWebSocketContext, Task> userFunc) { 283public void AcceptWebSocketRequest(Func<AspNetWebSocketContext, Task> userFunc, AspNetWebSocketOptions options) {
ModelBinding\DataTypeUtil.cs (1)
25internal static string ToDataTypeName(this DataTypeAttribute attribute, Func<DataTypeAttribute, Boolean> isDataType = null) {
ModelBinding\GenericModelBinderProvider.cs (2)
7private readonly Func<Type[], IModelBinder> _modelBinderFactory; 46public GenericModelBinderProvider(Type modelType, Func<Type[], IModelBinder> modelBinderFactory) {
ModelBinding\ModelBinderErrorMessageProviders.cs (1)
43private static string GetResourceCommon(ModelBindingExecutionContext modelBindingExecutionContext, ModelMetadata modelMetadata, object incomingValue, Func<ModelBindingExecutionContext, string> resourceAccessor) {
ModelBinding\ModelBinderProviderCollection.cs (1)
70public void RegisterBinderForGenericType(Type modelType, Func<Type[], IModelBinder> modelBinderFactory) {
ModelBinding\TypeHelpers.cs (1)
8Func<Type, bool> matchesInterface = t => t.IsGenericType && t.GetGenericTypeDefinition() == interfaceType;
Routing\ParsedRoute.cs (1)
338private static bool ForEachParameter(IList<PathSegment> pathSegments, Func<ParameterSubsegment, bool> action) {
Security\AntiXss\CodeCharts\CodeChartHelper.cs (1)
14internal static IEnumerable<int> GetRange(int min, int max, Func<int, bool> exclusionFilter) {
Security\Cryptography\HomogenizingCryptoServiceWrapper.cs (1)
25private static byte[] HomogenizeErrors(Func<byte[], byte[]> func, byte[] input) {
Security\Cryptography\MachineKeyCryptoAlgorithmFactory.cs (1)
93private Func<TResult> GetGenericAlgorithmFactory<TResult>(string configAttributeName, string configAttributeValue, Func<string, Func<TResult>> switchStatement, string errorResourceString) where TResult : class, IDisposable {
Security\Cryptography\MachineKeyDataProtectorFactory.cs (3)
18private Func<Purpose, DataProtector> _dataProtectorFactory; 32private Func<Purpose, DataProtector> GetDataProtectorFactory() { 36Func<Purpose, DataProtector> factory = purpose => {
UI\PageAsyncTask.cs (5)
54public PageAsyncTask(Func<CancellationToken, Task> handler) 59internal PageAsyncTask(Func<CancellationToken, Task> handler, SynchronizationContextMode currentMode) { 81internal Func<CancellationToken, Task> TaskHandler { get; private set; } 83private static Func<CancellationToken, Task> WrapParameterlessTaskHandler(Func<Task> handler) { 85? (Func<CancellationToken, Task>)(_ => handler())
UI\PageAsyncTaskTap.cs (2)
16private readonly Func<CancellationToken, Task> _handler; 18public PageAsyncTaskTap(Func<CancellationToken, Task> handler) {
UI\TemplateControl.cs (3)
473var handler = FastDelegateCreator<Func<CancellationToken, Task>>.BindTo(this, preRenderCompleteAsyncEvent.MethodInfo); 544MethodInfo parameterfulMethod = GetInstanceMethodInfo(typeof(Func<CancellationToken, Task>), methodName);
UI\WebControls\ModelDataSourceView.cs (6)
720Func<object, Task> func = GetSelectAsyncFunc(arguments, callback, method); 735private Func<object, Task> GetSelectAsyncFunc(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback, ModelDataSourceMethod method) { 736Func<object, Task> func = async _ => { 822private void ViewOperationAsync(Func<CancellationToken, Task> asyncViewOperation, DataSourceViewOperationCallback callback) { 825Func<object, Task> func = async _ => { 929internal Func<object, Task> SelectAsyncInternal(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback, ModelDataSourceMethod method) {
Util\SynchronizationHelper.cs (2)
116public void QueueAsynchronousAsync(Func<object, Task> func, object state) { 179private async Task SafeWrapCallbackAsync(Func<object, Task> func, object state) {
WebSocketPipeline.cs (2)
26private Func<AspNetWebSocketContext, Task> _userFunc; 29public WebSocketPipeline(RootedObjects root, HttpContext httpContext, Func<AspNetWebSocketContext, Task> userFunc, string subProtocol) {
System.Web.DynamicData (15)
DynamicData\ContextConfiguration.cs (1)
16public Func<Type, TypeDescriptionProvider> MetadataProviderFactory { get; set; }
DynamicData\DynamicDataRouteHandler.cs (1)
44internal Func<string, IHttpHandler> CreateHandlerCallback { get; set; }
DynamicData\EntityTemplateFactory.cs (3)
12private Func<string, EntityTemplateUserControl> _templateInstantiator; 19internal EntityTemplateFactory(Func<string, EntityTemplateUserControl> templateInstantiator, VirtualPathProvider vpp) 24private EntityTemplateFactory(Func<string, EntityTemplateUserControl> templateInstantiator, bool trackChanges) {
DynamicData\FieldTemplateUserControl.cs (1)
502Func<object, string> converter;
DynamicData\MetaColumn.cs (2)
651private string GetHint<T>(Func<T, string> presentationLayerPropertyAccessor, Func<T, string> hintPropertyAccessor) where T : Attribute {
DynamicData\MetaForeignKeyColumn.cs (1)
35internal void CreateForeignKeyFilterMapping(IList<string> foreignKeyNames, IList<string> primaryKeyNames, Func<string, bool> propertyExists) {
DynamicData\MetaModel.cs (1)
363private static void RegisterMetadataTypeDescriptionProvider(TableProvider entity, Func<Type, TypeDescriptionProvider> providerFactory) {
DynamicData\Util\AttributeExtensions.cs (4)
17internal static TResult GetAttributePropertyValue<TAttribute, TResult>(this System.ComponentModel.AttributeCollection attributes, Func<TAttribute, TResult> propertyGetter) 24internal static TResult GetAttributePropertyValue<TAttribute, TResult>(this System.ComponentModel.AttributeCollection attributes, Func<TAttribute, TResult> propertyGetter, TResult defaultValue) 40internal static TResult GetPropertyValue<TAttribute, TResult>(this TAttribute attribute, Func<TAttribute, TResult> propertyGetter) 56internal static TResult GetPropertyValue<TAttribute, TResult>(this TAttribute attribute, Func<TAttribute, TResult> propertyGetter, TResult defaultValue)
DynamicData\Util\Misc.cs (1)
226Func<object, object> lambda = row => DataBinder.GetPropertyValue(row, sortColumn.Name);
System.Web.Extensions (4)
UI\WebControls\Dynamic.cs (3)
166typeof(Func<,>), 186public static Expression<Func<T, S>> ParseLambda<T, S>(string expression, params object[] values) { 187return (Expression<Func<T, S>>)ParseLambda(typeof(T), typeof(S), expression, values);
UI\WebControls\QueryableDataSourceView.cs (1)
586protected void StoreOriginalValues(IList results, Func<PropertyDescriptor, bool> include) {
System.Windows.Forms (10)
misc\MultitargetUtil.cs (1)
20public static string GetAssemblyQualifiedName(Type type, Func<Type, string> typeNameConverter)
winforms\Managed\System\Resources\ResXDataNode.cs (5)
80private Func<Type, string> typeNameConverter; 121public ResXDataNode(string name, object value, Func<Type, string> typeNameConverter) { 154public ResXDataNode(string name, ResXFileRef fileRef, Func<Type, string> typeNameConverter) { 820private Func<Type, string> typeNameConverter; 826internal ResXSerializationBinder(Func<Type, string> typeNameConverter) {
winforms\Managed\System\Resources\ResXResourceWriter.cs (4)
242private Func<Type, string> typeNameConverter; // no public property to be consistent with ResXDataNode class. 264public ResXResourceWriter(string fileName, Func<Type, string> typeNameConverter) { 276public ResXResourceWriter(Stream stream, Func<Type, string> typeNameConverter) { 288public ResXResourceWriter(TextWriter textWriter, Func<Type, string> typeNameConverter) {
System.Workflow.ComponentModel (1)
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (1)
202public Func<Type, string> AssemblyNameResolver
WindowsBase (2)
Shared\MS\Internal\ReaderWriterLockSlimWrapper.cs (2)
112internal bool WithReadLock<T, TResult>(Func<T, TResult> criticalAction, T arg, out TResult result) 186internal bool WithWriteLock<T, TResult>(Func<T, TResult> criticalAction, T arg, out TResult result)