5 types derived from Expression
System.Linq.Expressions (5)
System\Linq\Expressions\LambdaExpression.cs (5)
356
internal sealed class Expression0<TDelegate> :
Expression
<TDelegate>
384
internal sealed class Expression1<TDelegate> :
Expression
<TDelegate>
433
internal sealed class Expression2<TDelegate> :
Expression
<TDelegate>
495
internal sealed class Expression3<TDelegate> :
Expression
<TDelegate>
563
internal class ExpressionN<TDelegate> :
Expression
<TDelegate>
688 references to Expression
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactoryOfT.cs (1)
564
var
lambda = Expression.Lambda<CompiledComplexTypeConverter<T>.ConverterDelegate>(
Microsoft.AspNetCore.Components.Forms (13)
EditContext.cs (5)
206
public IEnumerable<string> GetValidationMessages(
Expression
<Func<object>> accessor)
223
public bool IsModified(
Expression
<Func<object>> accessor)
238
public bool IsValid(
Expression
<Func<object>> accessor)
519
public bool IsValidationPending<TField>(
Expression
<Func<TField>> accessor)
548
public bool IsValidationFaulted<TField>(
Expression
<Func<TField>> accessor)
FieldIdentifier.cs (3)
34
public static FieldIdentifier Create<TField>(
Expression
<Func<TField>> accessor)
109
private static void ParseAccessor<T>(
Expression
<Func<T>> accessor, out object model, out string fieldName)
208
var
lambda = Expression.Lambda<Func<object, object>>(expression, parameter);
src\aspnetcore\src\Components\Shared\src\ExpressionFormatting\ExpressionFormatter.cs (1)
283
var
replacedExpression = Expression.Lambda<Func<object, TResult>>(replacedMemberExpression, parameterExpression);
ValidationMessageStore.cs (4)
38
public void Add(
Expression
<Func<object>> accessor, string message)
54
public void Add(
Expression
<Func<object>> accessor, IEnumerable<string> messages)
74
public IEnumerable<string> this[
Expression
<Func<object>> accessor]
94
public void Clear(
Expression
<Func<object>> accessor)
Microsoft.AspNetCore.Components.Web (12)
Forms\DisplayName.cs (2)
20
private
Expression
<Func<TValue>>? _previousFieldAccessor;
27
public
Expression
<Func<TValue>>? For { get; set; }
Forms\EditContextFieldClassExtensions.cs (1)
23
public static string FieldCssClass<TField>(this EditContext editContext,
Expression
<Func<TField>> accessor)
Forms\Editor.cs (1)
25
[Parameter] public
Expression
<Func<T>> ValueExpression { get; set; } = default!;
Forms\ExpressionMemberAccessor.cs (2)
26
private static MemberInfo GetMemberInfo<TValue>(
Expression
<Func<TValue>> accessor)
79
public static string GetDisplayName<TValue>(
Expression
<Func<TValue>> accessor)
Forms\InputBase.cs (1)
56
[Parameter] public
Expression
<Func<TValue>>? ValueExpression { get; set; }
Forms\Label.cs (2)
42
public
Expression
<Func<TValue>>? For { get; set; }
66
var
previousFor = For;
Forms\ValidationMessage.cs (2)
16
private
Expression
<Func<TValue>>? _previousFieldAccessor;
32
[Parameter] public
Expression
<Func<TValue>>? For { get; set; }
src\aspnetcore\src\Components\Shared\src\ExpressionFormatting\ExpressionFormatter.cs (1)
283
var
replacedExpression = Expression.Lambda<Func<object, TResult>>(replacedMemberExpression, parameterExpression);
Microsoft.AspNetCore.Http.Abstractions (1)
Extensions\UseMiddlewareExtensions.cs (1)
323
var
lambda = Expression.Lambda<Func<T, HttpContext, IServiceProvider, Task>>(body, instanceArg, httpContextArg, providerArg);
Microsoft.AspNetCore.Http.Extensions (10)
RequestDelegateFactory.cs (6)
189
Expression
<Func<HttpContext, object?>> targetFactory = (httpContext) => handler.Target;
318
Expression
<Func<HttpContext, object?>>? targetFactory = null)
358
Expression
<Func<EndpointFilterInvocationContext, ValueTask<object?>>> invokePipeline = (context) => filterPipeline(context);
421
private static EndpointFilterDelegate? CreateFilterPipeline(MethodInfo methodInfo, Expression? targetExpression, RequestDelegateFactoryContext factoryContext,
Expression
<Func<HttpContext, object?>>? targetFactory)
2453
private static MethodInfo GetMethodInfo<T>(
Expression
<T> expr)
2459
private static MemberInfo GetMemberInfo<T>(
Expression
<T> expr)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactoryOfT.cs (1)
564
var
lambda = Expression.Lambda<CompiledComplexTypeConverter<T>.ConverterDelegate>(
src\aspnetcore\src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (3)
224
var
lambda = Expression.Lambda<VoidMethodExecutor>(methodCall, targetParameter, parametersParameter);
232
var
lambda = Expression.Lambda<MethodExecutor>(castMethodCall, targetParameter, parametersParameter);
382
var
lambda = Expression.Lambda<MethodExecutorAsync>(returnValueExpression, targetParameter, parametersParameter);
Microsoft.AspNetCore.Mvc.Core (19)
ControllerBase.cs (2)
2607
params
Expression
<Func<TModel, object?>>[] includeExpressions)
2684
params
Expression
<Func<TModel, object?>>[] includeExpressions)
ModelBinding\DefaultPropertyFilterProvider.cs (3)
30
public virtual IEnumerable<
Expression
<Func<TModel, object?>>>? PropertyIncludeExpressions => null;
48
IEnumerable<
Expression
<Func<TModel, object?>>> includeExpressions)
50
var
expression = ModelBindingHelper.GetPropertyFilterExpression(includeExpressions.ToArray());
ModelBinding\Metadata\DefaultModelMetadataProvider.cs (1)
258
var
factoryLamda = Expression.Lambda<Func<object?[], object>>(factoryExpressionBody, args);
ModelBinding\ModelBindingHelper.cs (9)
85
params
Expression
<Func<TModel, object?>>[] includeExpressions)
90
var
expression = GetPropertyFilterExpression(includeExpressions);
327
public static
Expression
<Func<ModelMetadata, bool>> GetPropertyFilterExpression<TModel>(
328
Expression
<Func<TModel, object?>>[] expressions)
336
var
firstExpression = GetPredicateExpression(expressions[0]);
338
foreach (
var
expression in expressions.Skip(1))
340
var
predicate = GetPredicateExpression(expression);
349
private static
Expression
<Func<ModelMetadata, bool>> GetPredicateExpression<TModel>(
350
Expression
<Func<TModel, object?>> expression)
ModelBinding\Validation\DefaultCollectionValidationStrategy.cs (1)
73
var
expression =
src\aspnetcore\src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (3)
224
var
lambda = Expression.Lambda<VoidMethodExecutor>(methodCall, targetParameter, parametersParameter);
232
var
lambda = Expression.Lambda<MethodExecutor>(castMethodCall, targetParameter, parametersParameter);
382
var
lambda = Expression.Lambda<MethodExecutorAsync>(returnValueExpression, targetParameter, parametersParameter);
Microsoft.AspNetCore.Mvc.RazorPages (4)
PageBase.cs (2)
1355
params
Expression
<Func<TModel, object?>>[] includeExpressions)
1430
params
Expression
<Func<TModel, object?>>[] includeExpressions)
PageModel.cs (2)
260
params
Expression
<Func<TModel, object?>>[] includeExpressions)
335
params
Expression
<Func<TModel, object?>>[] includeExpressions)
Microsoft.AspNetCore.Mvc.ViewFeatures (90)
CachedExpressionCompiler.cs (9)
23
Expression
<Func<TModel, TResult>> expression)
43
public static Func<TModel, object> Compile(
Expression
<Func<TModel, TResult>> expression)
107
Expression
<Func<TModel, TResult>> expression)
121
Expression
<Func<TModel, TResult>> expression,
138
Expression
<Func<TModel, TResult>> expression,
153
Expression
<Func<TModel, TResult>> expression,
179
var
replacementExpression = Expression.Lambda<Func<object, TResult>>(
192
Expression
<Func<TModel, TResult>> expression,
230
var
rewrittenExpression = Expression.Lambda<Func<TModel, object>>(body, expression.Parameters);
ExpressionHelper.cs (1)
215
var
lambda = Expression.Lambda<Func<object, object>>(converted, fakeParameter);
ExpressionMetadataProvider.cs (1)
15
Expression
<Func<TModel, TResult>> expression,
HtmlHelperOfT.cs (21)
92
Expression
<Func<TModel, bool>> expression,
107
Expression
<Func<TModel, TResult>> expression,
125
Expression
<Func<TModel, TResult>> expression,
141
public string DisplayNameFor<TResult>(
Expression
<Func<TModel, TResult>> expression)
151
Expression
<Func<TModelItem, TResult>> expression)
163
public string DisplayTextFor<TResult>(
Expression
<Func<TModel, TResult>> expression)
172
Expression
<Func<TModel, TResult>> expression,
189
Expression
<Func<TModel, TResult>> expression,
204
public string IdFor<TResult>(
Expression
<Func<TModel, TResult>> expression)
213
Expression
<Func<TModel, TResult>> expression,
225
Expression
<Func<TModel, TResult>> expression,
238
public string NameFor<TResult>(
Expression
<Func<TModel, TResult>> expression)
248
Expression
<Func<TModel, TResult>> expression,
263
Expression
<Func<TModel, TResult>> expression,
281
Expression
<Func<TModel, TResult>> expression,
294
Expression
<Func<TModel, TResult>> expression,
309
private ModelExpression GetModelExpression<TResult>(
Expression
<Func<TModel, TResult>> expression)
319
protected string GetExpressionName<TResult>(
Expression
<Func<TModel, TResult>> expression)
332
protected ModelExplorer GetModelExplorer<TResult>(
Expression
<Func<TModel, TResult>> expression)
342
Expression
<Func<TModel, TResult>> expression,
359
public string ValueFor<TResult>(
Expression
<Func<TModel, TResult>> expression, string format)
IModelExpressionProvider.cs (1)
24
Expression
<Func<TModel, TValue>> expression);
ModelExpressionProvider.cs (2)
37
public string GetExpressionText<TModel, TValue>(
Expression
<Func<TModel, TValue>> expression)
47
Expression
<Func<TModel, TValue>> expression)
ModelStateDictionaryExtensions.cs (5)
27
Expression
<Func<TModel, object>> expression,
54
Expression
<Func<TModel, object>> expression,
76
Expression
<Func<TModel, object>> expression,
99
Expression
<Func<TModel, object>> expression)
116
Expression
<Func<TModel, object>> expression)
Rendering\HtmlHelperDisplayExtensions.cs (5)
233
Expression
<Func<TModel, TResult>> expression)
272
Expression
<Func<TModel, TResult>> expression,
308
Expression
<Func<TModel, TResult>> expression,
349
Expression
<Func<TModel, TResult>> expression,
390
Expression
<Func<TModel, TResult>> expression,
Rendering\HtmlHelperDisplayNameExtensions.cs (1)
38
Expression
<Func<TModelItem, TResult>> expression)
Rendering\HtmlHelperEditorExtensions.cs (5)
230
Expression
<Func<TModel, TResult>> expression)
265
Expression
<Func<TModel, TResult>> expression,
301
Expression
<Func<TModel, TResult>> expression,
338
Expression
<Func<TModel, TResult>> expression,
379
Expression
<Func<TModel, TResult>> expression,
Rendering\HtmlHelperInputExtensions.cs (9)
118
Expression
<Func<TModel, bool>> expression)
196
Expression
<Func<TModel, TResult>> expression)
262
Expression
<Func<TModel, TResult>> expression)
403
Expression
<Func<TModel, TResult>> expression,
551
Expression
<Func<TModel, TResult>> expression)
582
Expression
<Func<TModel, TResult>> expression,
616
Expression
<Func<TModel, TResult>> expression,
762
Expression
<Func<TModel, TResult>> expression)
794
Expression
<Func<TModel, TResult>> expression,
Rendering\HtmlHelperLabelExtensions.cs (3)
51
Expression
<Func<TModel, TResult>> expression)
70
Expression
<Func<TModel, TResult>> expression,
94
Expression
<Func<TModel, TResult>> expression,
Rendering\HtmlHelperSelectExtensions.cs (4)
222
Expression
<Func<TModel, TResult>> expression,
261
Expression
<Func<TModel, TResult>> expression,
304
Expression
<Func<TModel, TResult>> expression,
404
Expression
<Func<TModel, TResult>> expression,
Rendering\HtmlHelperValidationExtensions.cs (4)
178
Expression
<Func<TModel, TResult>> expression)
206
Expression
<Func<TModel, TResult>> expression,
241
Expression
<Func<TModel, TResult>> expression,
275
Expression
<Func<TModel, TResult>> expression,
Rendering\HtmlHelperValueExtensions.cs (1)
51
Expression
<Func<TModel, TResult>> expression)
Rendering\IHtmlHelperOfT.cs (18)
44
IHtmlContent CheckBoxFor(
Expression
<Func<TModel, bool>> expression, object htmlAttributes);
77
Expression
<Func<TModel, TResult>> expression,
88
string DisplayNameFor<TResult>(
Expression
<Func<TModel, TResult>> expression);
99
Expression
<Func<TModelItem, TResult>> expression);
111
string DisplayTextFor<TResult>(
Expression
<Func<TModel, TResult>> expression);
143
Expression
<Func<TModel, TResult>> expression,
177
Expression
<Func<TModel, TResult>> expression,
208
Expression
<Func<TModel, TResult>> expression,
217
string IdFor<TResult>(
Expression
<Func<TModel, TResult>> expression);
231
Expression
<Func<TModel, TResult>> expression,
262
Expression
<Func<TModel, TResult>> expression,
274
string NameFor<TResult>(
Expression
<Func<TModel, TResult>> expression);
294
Expression
<Func<TModel, TResult>> expression,
327
Expression
<Func<TModel, TResult>> expression,
359
Expression
<Func<TModel, TResult>> expression,
389
Expression
<Func<TModel, TResult>> expression,
417
Expression
<Func<TModel, TResult>> expression,
441
Expression
<Func<TModel, TResult>> expression,
Microsoft.AspNetCore.SignalR.Core (4)
Internal\HubMethodDescriptor.cs (1)
246
var
lambda = Expression.Lambda<Func<object, CancellationToken, IAsyncEnumerator<object?>>>(methodCall, parameters);
src\aspnetcore\src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (3)
224
var
lambda = Expression.Lambda<VoidMethodExecutor>(methodCall, targetParameter, parametersParameter);
232
var
lambda = Expression.Lambda<MethodExecutor>(castMethodCall, targetParameter, parametersParameter);
382
var
lambda = Expression.Lambda<MethodExecutorAsync>(returnValueExpression, targetParameter, parametersParameter);
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\roslyn\src\Analyzers\CSharp\Analyzers\InlineDeclaration\CSharpInlineDeclarationDiagnosticAnalyzer.cs (1)
50
var expressionType = compilation.GetTypeByMetadataName(typeof(
Expression
<>).FullName!);
src\roslyn\src\Analyzers\CSharp\Analyzers\UseLocalFunction\CSharpUseLocalFunctionDiagnosticAnalyzer.cs (1)
64
var expressionType = compilation.GetTypeByMetadataName(typeof(
Expression
<>).FullName!);
src\roslyn\src\Analyzers\CSharp\Analyzers\UseUtf8StringLiteral\UseUtf8StringLiteralDiagnosticAnalyzer.cs (1)
54
var expressionType = context.Compilation.GetTypeByMetadataName(typeof(System.Linq.Expressions.
Expression
<>).FullName!);
Microsoft.CodeAnalysis.CSharp.Features (3)
src\roslyn\src\Analyzers\CSharp\Analyzers\InlineDeclaration\CSharpInlineDeclarationDiagnosticAnalyzer.cs (1)
50
var expressionType = compilation.GetTypeByMetadataName(typeof(
Expression
<>).FullName!);
src\roslyn\src\Analyzers\CSharp\Analyzers\UseLocalFunction\CSharpUseLocalFunctionDiagnosticAnalyzer.cs (1)
64
var expressionType = compilation.GetTypeByMetadataName(typeof(
Expression
<>).FullName!);
src\roslyn\src\Analyzers\CSharp\Analyzers\UseUtf8StringLiteral\UseUtf8StringLiteralDiagnosticAnalyzer.cs (1)
54
var expressionType = context.Compilation.GetTypeByMetadataName(typeof(System.Linq.Expressions.
Expression
<>).FullName!);
Microsoft.CodeAnalysis.Workspaces (2)
Recommendations\AbstractRecommendationServiceRunner.cs (2)
179
/// <param name="candidateSymbols">symbols corresponding to <see cref="
Expression
{Func}"/> or <see cref="Func{some_args, TResult}"/>
191
var expressionSymbol = _context.SemanticModel.Compilation.GetTypeByMetadataName(typeof(
Expression
<>).FullName);
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\PredefinedTypes.cs (1)
160
new PredefinedTypeInfo(PredefinedType.PT_G_EXPRESSION, typeof(System.Linq.Expressions.
Expression
<>), "System.Linq.Expressions.Expression`1"),
Microsoft.DotNet.Build.Tasks.Packaging (2)
Extensions.cs (2)
140
public static void UpdateMember<T1, T2>(this T1 target,
Expression
<Func<T1, T2>> memberLamda, T2 value)
162
public static void AddRangeToMember<T, TItem>(this T target,
Expression
<Func<T, ICollection<TItem>>> memberLamda, IEnumerable<TItem> value)
Microsoft.Extensions.DependencyInjection (2)
ServiceLookup\Expressions\ExpressionResolverBuilder.cs (2)
73
Expression
<Func<ServiceProviderEngineScope, object>> expression = BuildExpression(callSite);
78
private
Expression
<Func<ServiceProviderEngineScope, object>> BuildExpression(ServiceCallSite callSite)
Microsoft.Extensions.DependencyInjection.Abstractions (2)
ActivatorUtilities.cs (2)
296
var
factoryLambda = Expression.Lambda<ObjectFactory>(
329
var
factoryLambda = Expression.Lambda<ObjectFactory<T>>(
Microsoft.Maui.Controls (13)
BoundsConstraint.cs (2)
23
public static BoundsConstraint FromExpression(
Expression
<Func<Rect>> expression, IEnumerable<View> parents = null)
28
internal static BoundsConstraint FromExpression(
Expression
<Func<Rect>> expression, bool fromExpression, IEnumerable<View> parents = null)
LegacyLayouts\Constraint.cs (1)
28
public static Constraint FromExpression(
Expression
<Func<double>> expression)
LegacyLayouts\RelativeLayout.cs (10)
343
void Add(T view,
Expression
<Func<Rect>> bounds);
345
void Add(T view,
Expression
<Func<double>> x = null,
Expression
<Func<double>> y = null,
Expression
<Func<double>> width = null,
Expression
<Func<double>> height = null);
359
public void Add(View view,
Expression
<Func<Rect>> bounds)
368
public void Add(View view,
Expression
<Func<double>> x = null,
Expression
<Func<double>> y = null,
Expression
<Func<double>> width = null,
Expression
<Func<double>> height = null)
Microsoft.ML.Core (6)
Utilities\FuncInstanceMethodInfo1`2.cs (1)
56
public static FuncInstanceMethodInfo1<TTarget, TResult> Create(
Expression
<Func<TTarget, Func<TResult>>> expression)
Utilities\FuncInstanceMethodInfo1`3.cs (1)
57
public static FuncInstanceMethodInfo1<TTarget, T, TResult> Create(
Expression
<Func<TTarget, Func<T, TResult>>> expression)
Utilities\FuncInstanceMethodInfo1`4.cs (1)
58
public static FuncInstanceMethodInfo1<TTarget, T1, T2, TResult> Create(
Expression
<Func<TTarget, Func<T1, T2, TResult>>> expression)
Utilities\FuncInstanceMethodInfo2`4.cs (1)
58
public static FuncInstanceMethodInfo2<TTarget, T1, T2, TResult> Create(
Expression
<Func<TTarget, Func<T1, T2, TResult>>> expression)
Utilities\FuncInstanceMethodInfo3`3.cs (1)
57
public static FuncInstanceMethodInfo3<TTarget, T, TResult> Create(
Expression
<Func<TTarget, Func<T, TResult>>> expression)
Utilities\FuncInstanceMethodInfo3`4.cs (1)
58
public static FuncInstanceMethodInfo3<TTarget, T1, T2, TResult> Create(
Expression
<Func<TTarget, Func<T1, T2, TResult>>> expression)
netstandard (1)
netstandard.cs (1)
997
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Linq.Expressions.
Expression
<>))]
System.ComponentModel.Composition (17)
System\ComponentModel\Composition\ConstraintServices.cs (5)
23
public static
Expression
<Func<ExportDefinition, bool>> CreateConstraint(string contractName, string? requiredTypeIdentity, IEnumerable<KeyValuePair<string, Type>> requiredMetadata, CreationPolicy requiredCreationPolicy)
52
Expression
<Func<ExportDefinition, bool>> constraint = Expression.Lambda<Func<ExportDefinition, bool>>(constraintBody, parameter);
186
public static
Expression
<Func<ExportDefinition, bool>> CreatePartCreatorConstraint(
Expression
<Func<ExportDefinition, bool>> baseConstraint, ImportDefinition productImportDefinition)
213
Expression
<Func<ExportDefinition, bool>> constraint =
System\ComponentModel\Composition\Hosting\ImportSourceImportDefinitionHelpers.cs (1)
68
public override
Expression
<Func<ExportDefinition, bool>> Constraint
System\ComponentModel\Composition\Primitives\ContractBasedImportDefinition.cs (3)
25
private
Expression
<Func<ExportDefinition, bool>>? _constraint;
260
/// A <see cref="
Expression
{TDelegate}"/> containing a <see cref="Func{T, TResult}"/>
272
public override
Expression
<Func<ExportDefinition, bool>> Constraint =>
System\ComponentModel\Composition\Primitives\ImportDefinition.cs (6)
19
private readonly
Expression
<Func<ExportDefinition, bool>>? _constraint;
49
/// A <see cref="
Expression
{TDelegate}"/> containing a <see cref="Func{T, TResult}"/>
81
public ImportDefinition(
Expression
<Func<ExportDefinition, bool>> constraint, string? contractName, ImportCardinality cardinality, bool isRecomposable, bool isPrerequisite)
89
public ImportDefinition(
Expression
<Func<ExportDefinition, bool>> constraint, string? contractName, ImportCardinality cardinality, bool isRecomposable, bool isPrerequisite, IDictionary<string, object?>? metadata)
188
/// A <see cref="
Expression
{TDelegate}"/> containing a <see cref="Func{T, TResult}"/>
200
public virtual
Expression
<Func<ExportDefinition, bool>> Constraint
System\ComponentModel\Composition\ReflectionModel\PartCreatorMemberImportDefinition.cs (1)
38
public override
Expression
<Func<ExportDefinition, bool>> Constraint
System\ComponentModel\Composition\ReflectionModel\PartCreatorParameterImportDefinition.cs (1)
38
public override
Expression
<Func<ExportDefinition, bool>> Constraint
System.ComponentModel.Composition.Registration (18)
System\ComponentModel\Composition\Registration\PartBuilderOfT.cs (18)
18
public PropertyExpressionAdapter(
Expression
<Func<T, object>> propertyFilter,
42
private static PropertyInfo SelectProperties(
Expression
<Func<T, object>> propertyFilter)
60
private static
Expression
<Func<T, object>> Reduce(
Expression
<Func<T, object>> expr)
64
expr = (
Expression
<Func<T, object>>)expr.Reduce();
75
public ConstructorExpressionAdapter(
Expression
<Func<ParameterImportBuilder, T>> selectConstructor)
94
private void ParseSelectConstructor(
Expression
<Func<ParameterImportBuilder, T>> constructorFilter)
133
private static
Expression
<Func<ParameterImportBuilder, T>> Reduce(
Expression
<Func<ParameterImportBuilder, T>> expr)
148
public PartBuilder<T> SelectConstructor(
Expression
<Func<ParameterImportBuilder, T>> constructorFilter)
159
public PartBuilder<T> ExportProperty(
Expression
<Func<T, object>> propertyFilter)
165
Expression
<Func<T, object>> propertyFilter,
176
public PartBuilder<T> ExportProperty<TContract>(
Expression
<Func<T, object>> propertyFilter)
181
public PartBuilder<T> ExportProperty<TContract>(
Expression
<Func<T, object>> propertyFilter,
192
public PartBuilder<T> ImportProperty(
Expression
<Func<T, object>> propertyFilter)
197
public PartBuilder<T> ImportProperty(
Expression
<Func<T, object>> propertyFilter,
208
public PartBuilder<T> ImportProperty<TContract>(
Expression
<Func<T, object>> propertyFilter)
213
public PartBuilder<T> ImportProperty<TContract>(
Expression
<Func<T, object>> propertyFilter,
System.Composition.Convention (27)
System\Composition\Convention\PartConventionBuilderOfT.cs (27)
20
public MethodExpressionAdapter(
Expression
<Action<T>> methodSelector)
30
private static MethodInfo SelectMethods(
Expression
<Action<T>> methodSelector)
48
private static
Expression
<Func<T, object>> Reduce(
Expression
<Func<T, object>> expr)
52
expr = (
Expression
<Func<T, object>>)expr.Reduce();
57
private static
Expression
<Action<T>> Reduce(
Expression
<Action<T>> expr)
61
expr = (
Expression
<Action<T>>)expr.Reduce();
74
Expression
<Func<T, object>> propertySelector,
98
private static PropertyInfo SelectProperties(
Expression
<Func<T, object>> propertySelector)
116
private static
Expression
<Func<T, object>> Reduce(
Expression
<Func<T, object>> expr)
120
expr = (
Expression
<Func<T, object>>)expr.Reduce();
131
public ConstructorExpressionAdapter(
Expression
<Func<ParameterImportConventionBuilder, T>> selectConstructor)
154
private void ParseSelectConstructor(
Expression
<Func<ParameterImportConventionBuilder, T>> constructorSelector)
190
private static
Expression
<Func<ParameterImportConventionBuilder, T>> Reduce(
Expression
<Func<ParameterImportConventionBuilder, T>> expr)
209
public PartConventionBuilder<T> SelectConstructor(
Expression
<Func<ParameterImportConventionBuilder, T>> constructorSelector)
223
public PartConventionBuilder<T> ExportProperty(
Expression
<Func<T, object>> propertySelector)
235
Expression
<Func<T, object>> propertySelector,
252
public PartConventionBuilder<T> ExportProperty<TContract>(
Expression
<Func<T, object>> propertySelector)
265
Expression
<Func<T, object>> propertySelector,
280
public PartConventionBuilder<T> ImportProperty(
Expression
<Func<T, object>> propertySelector)
292
Expression
<Func<T, object>> propertySelector,
308
public PartConventionBuilder<T> ImportProperty<TContract>(
Expression
<Func<T, object>> propertySelector)
321
Expression
<Func<T, object>> propertySelector,
335
public PartConventionBuilder<T> NotifyImportsSatisfied(
Expression
<Action<T>> methodSelector)
System.Composition.TypedParts (1)
System\Composition\TypedParts\Discovery\DiscoveredPropertyExport.cs (1)
27
var
activator = Expression.Lambda<CompositeActivator>(
System.Core (1)
System.Core.cs (1)
135
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Linq.Expressions.
Expression
<>))]
System.Linq.Expressions (55)
System\Linq\Expressions\Compiler\StackSpiller.cs (3)
101
internal
Expression
<T> Rewrite<T>(
Expression
<T> lambda)
122
return
Expression
<T>.Create(newBody, lambda.Name, lambda.TailCall, new ParameterList(lambda));
System\Linq\Expressions\Compiler\VariableBinder.cs (1)
85
protected internal override Expression VisitLambda<T>(
Expression
<T> node)
System\Linq\Expressions\DebugViewWriter.cs (1)
398
protected internal override Expression VisitLambda<T>(
Expression
<T> node)
System\Linq\Expressions\ExpressionStringBuilder.cs (1)
295
protected internal override Expression VisitLambda<T>(
Expression
<T> node)
System\Linq\Expressions\ExpressionVisitor.cs (2)
338
/// Visits the children of the <see cref="
Expression
{T}"/>.
344
protected internal virtual Expression VisitLambda<T>(
Expression
<T> node)
System\Linq\Expressions\Interpreter\LightCompiler.cs (1)
2826
protected internal override Expression VisitLambda<T>(
Expression
<T> node)
System\Linq\Expressions\Interpreter\TypeOperations.cs (1)
513
protected internal override Expression VisitLambda<T>(
Expression
<T> node)
System\Linq\Expressions\InvocationExpression.cs (9)
415
/// <paramref name="expression"/>.Type does not represent a delegate type or an <see cref="
Expression
{TDelegate}"/>.</exception>
451
/// <paramref name="expression"/>.Type does not represent a delegate type or an <see cref="
Expression
{TDelegate}"/>.-or-The <see cref="Expression.Type"/> property of an argument expression is not assignable to the type of the corresponding parameter of the delegate represented by <paramref name="expression"/>.</exception>
492
/// <paramref name="expression"/>.Type does not represent a delegate type or an <see cref="
Expression
{TDelegate}"/>.-or-The <see cref="Expression.Type"/> property of an argument expression is not assignable to the type of the corresponding parameter of the delegate represented by <paramref name="expression"/>.</exception>
536
/// <paramref name="expression"/>.Type does not represent a delegate type or an <see cref="
Expression
{TDelegate}"/>.-or-The <see cref="Expression.Type"/> property of an argument expression is not assignable to the type of the corresponding parameter of the delegate represented by <paramref name="expression"/>.</exception>
585
/// <paramref name="expression"/>.Type does not represent a delegate type or an <see cref="
Expression
{TDelegate}"/>.-or-The <see cref="Expression.Type"/> property of an argument expression is not assignable to the type of the corresponding parameter of the delegate represented by <paramref name="expression"/>.</exception>
638
/// <paramref name="expression"/>.Type does not represent a delegate type or an <see cref="
Expression
{TDelegate}"/>.-or-The <see cref="Expression.Type"/> property of an argument expression is not assignable to the type of the corresponding parameter of the delegate represented by <paramref name="expression"/>.</exception>
681
/// <paramref name="expression"/>.Type does not represent a delegate type or an <see cref="
Expression
{TDelegate}"/>.-or-The <see cref="Expression.Type"/> property of an element of <paramref name="arguments"/> is not assignable to the type of the corresponding parameter of the delegate represented by <paramref name="expression"/>.</exception>
708
/// <paramref name="expression"/>.Type does not represent a delegate type or an <see cref="
Expression
{TDelegate}"/>.-or-The <see cref="Expression.Type"/> property of an element of <paramref name="arguments"/> is not assignable to the type of the corresponding parameter of the delegate represented by <paramref name="expression"/>.</exception>
748
Type? exprType = TypeUtils.FindGenericType(typeof(
Expression
<>), expression.Type);
System\Linq\Expressions\LambdaExpression.cs (32)
24
private static readonly MethodInfo s_expressionCompileMethodInfo = typeof(
Expression
<>).GetMethod("Compile", Type.EmptyTypes)!;
195
/// Defines a <see cref="
Expression
{TDelegate}"/> node.
211
internal override Type PublicType => typeof(
Expression
<TDelegate>);
253
public
Expression
<TDelegate> Update(Expression body, IEnumerable<ParameterExpression>? parameters)
289
internal virtual
Expression
<TDelegate> Rewrite(Expression body, ParameterExpression[]? parameters)
307
internal static
Expression
<TDelegate> Create(Expression body, string? name, bool tailCall, IReadOnlyList<ParameterExpression> parameters)
338
public static
Expression
<TDelegate> CreateExpressionFunc(Expression body, string? name, bool tailCall, ReadOnlyCollection<ParameterExpression> parameters)
375
internal override
Expression
<TDelegate> Rewrite(Expression body, ParameterExpression[]? parameters)
419
internal override
Expression
<TDelegate> Rewrite(Expression body, ParameterExpression[]? parameters)
481
internal override
Expression
<TDelegate> Rewrite(Expression body, ParameterExpression[]? parameters)
549
internal override
Expression
<TDelegate> Rewrite(Expression body, ParameterExpression[]? parameters)
582
internal override
Expression
<TDelegate> Rewrite(Expression body, ParameterExpression[]? parameters)
626
create = typeof(
Expression
<>).MakeGenericType(delegateType).GetMethod("Create", BindingFlags.Static | BindingFlags.NonPublic)!;
645
/// Creates an <see cref="
Expression
{TDelegate}"/> where the delegate type is known at compile time.
650
/// <returns>An <see cref="
Expression
{TDelegate}"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Lambda"/> and the <see cref="LambdaExpression.Body"/> and <see cref="LambdaExpression.Parameters"/> properties set to the specified values.</returns>
651
public static
Expression
<TDelegate> Lambda<TDelegate>(Expression body, params ParameterExpression[]? parameters)
657
/// Creates an <see cref="
Expression
{TDelegate}"/> where the delegate type is known at compile time.
663
/// <returns>An <see cref="
Expression
{TDelegate}"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Lambda"/> and the <see cref="LambdaExpression.Body"/> and <see cref="LambdaExpression.Parameters"/> properties set to the specified values.</returns>
664
public static
Expression
<TDelegate> Lambda<TDelegate>(Expression body, bool tailCall, params ParameterExpression[]? parameters)
670
/// Creates an <see cref="
Expression
{TDelegate}"/> where the delegate type is known at compile time.
675
/// <returns>An <see cref="
Expression
{TDelegate}"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Lambda"/> and the <see cref="LambdaExpression.Body"/> and <see cref="LambdaExpression.Parameters"/> properties set to the specified values.</returns>
676
public static
Expression
<TDelegate> Lambda<TDelegate>(Expression body, IEnumerable<ParameterExpression>? parameters)
682
/// Creates an <see cref="
Expression
{TDelegate}"/> where the delegate type is known at compile time.
688
/// <returns>An <see cref="
Expression
{TDelegate}"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Lambda"/> and the <see cref="LambdaExpression.Body"/> and <see cref="LambdaExpression.Parameters"/> properties set to the specified values.</returns>
689
public static
Expression
<TDelegate> Lambda<TDelegate>(Expression body, bool tailCall, IEnumerable<ParameterExpression>? parameters)
695
/// Creates an <see cref="
Expression
{TDelegate}"/> where the delegate type is known at compile time.
701
/// <returns>An <see cref="
Expression
{TDelegate}"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Lambda"/> and the <see cref="LambdaExpression.Body"/> and <see cref="LambdaExpression.Parameters"/> properties set to the specified values.</returns>
702
public static
Expression
<TDelegate> Lambda<TDelegate>(Expression body, string? name, IEnumerable<ParameterExpression>? parameters)
708
/// Creates an <see cref="
Expression
{TDelegate}"/> where the delegate type is known at compile time.
715
/// <returns>An <see cref="
Expression
{TDelegate}"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Lambda"/> and the <see cref="LambdaExpression.Body"/> and <see cref="LambdaExpression.Parameters"/> properties set to the specified values.</returns>
716
public static
Expression
<TDelegate> Lambda<TDelegate>(Expression body, string? name, bool tailCall, IEnumerable<ParameterExpression>? parameters)
722
return
Expression
<TDelegate>.Create(body, name, tailCall, parameterList);
System\Runtime\CompilerServices\CallSite.cs (1)
650
Expression
<T> lambda = Expression.Lambda<T>(
System\Runtime\CompilerServices\CallSiteBinder.cs (2)
132
Expression
<T> e = Stitch(binding, signature);
151
private static
Expression
<T> Stitch<T>(Expression binding, LambdaSignature<T> signature) where T : class
System\Runtime\CompilerServices\RuntimeOps.ExpressionQuoter.cs (1)
68
protected internal override Expression VisitLambda<T>(
Expression
<T> node)
System.Linq.Queryable (379)
System\Linq\EnumerableExecutor.cs (1)
45
Expression
<Func<T>> f = Expression.Lambda<Func<T>>(body, (IEnumerable<ParameterExpression>?)null);
System\Linq\EnumerableQuery.cs (1)
110
Expression
<Func<IEnumerable<T>>> f = Expression.Lambda<Func<IEnumerable<T>>>(body, (IEnumerable<ParameterExpression>?)null);
System\Linq\EnumerableRewriter.cs (2)
120
protected override Expression VisitLambda<T>(
Expression
<T> node) => node;
367
Type? eType = TypeHelper.FindGenericType(typeof(
Expression
<>), tmp);
System\Linq\Queryable.cs (375)
48
public static IQueryable<TSource> Where<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate)
56
new Func<IQueryable<TSource>,
Expression
<Func<TSource, bool>>, IQueryable<TSource>>(Where).Method,
61
public static IQueryable<TSource> Where<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, int, bool>> predicate)
69
new Func<IQueryable<TSource>,
Expression
<Func<TSource, int, bool>>, IQueryable<TSource>>(Where).Method,
98
public static IQueryable<TResult> Select<TSource, TResult>(this IQueryable<TSource> source,
Expression
<Func<TSource, TResult>> selector)
106
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TResult>>, IQueryable<TResult>>(Select).Method,
111
public static IQueryable<TResult> Select<TSource, TResult>(this IQueryable<TSource> source,
Expression
<Func<TSource, int, TResult>> selector)
119
new Func<IQueryable<TSource>,
Expression
<Func<TSource, int, TResult>>, IQueryable<TResult>>(Select).Method,
124
public static IQueryable<TResult> SelectMany<TSource, TResult>(this IQueryable<TSource> source,
Expression
<Func<TSource, IEnumerable<TResult>>> selector)
132
new Func<IQueryable<TSource>,
Expression
<Func<TSource, IEnumerable<TResult>>>, IQueryable<TResult>>(SelectMany).Method,
137
public static IQueryable<TResult> SelectMany<TSource, TResult>(this IQueryable<TSource> source,
Expression
<Func<TSource, int, IEnumerable<TResult>>> selector)
145
new Func<IQueryable<TSource>,
Expression
<Func<TSource, int, IEnumerable<TResult>>>, IQueryable<TResult>>(SelectMany).Method,
150
public static IQueryable<TResult> SelectMany<TSource, TCollection, TResult>(this IQueryable<TSource> source,
Expression
<Func<TSource, int, IEnumerable<TCollection>>> collectionSelector,
Expression
<Func<TSource, TCollection, TResult>> resultSelector)
159
new Func<IQueryable<TSource>,
Expression
<Func<TSource, int, IEnumerable<TCollection>>>,
Expression
<Func<TSource, TCollection, TResult>>, IQueryable<TResult>>(SelectMany).Method,
164
public static IQueryable<TResult> SelectMany<TSource, TCollection, TResult>(this IQueryable<TSource> source,
Expression
<Func<TSource, IEnumerable<TCollection>>> collectionSelector,
Expression
<Func<TSource, TCollection, TResult>> resultSelector)
173
new Func<IQueryable<TSource>,
Expression
<Func<TSource, IEnumerable<TCollection>>>,
Expression
<Func<TSource, TCollection, TResult>>, IQueryable<TResult>>(SelectMany).Method,
199
/// The following code example demonstrates how to use <see cref="Join{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}})" /> to perform an inner join of two sequences based on a common key.
259
/// This method has at least one parameter of type <see cref="
Expression
{TDelegate}" /> whose type argument is one of the <see cref="Func{T,TResult}" /> types.
260
/// For these parameters, you can pass in a lambda expression and it will be compiled to an <see cref="
Expression
{TDelegate}" />.
263
/// The <see cref="Join{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}})" /> method
265
/// <see cref="Join{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}})" />
271
/// <see cref="Join{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}})" />
281
public 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)
292
new Func<IQueryable<TOuter>, IEnumerable<TInner>,
Expression
<Func<TOuter, TKey>>,
Expression
<Func<TInner, TKey>>,
Expression
<Func<TOuter, TInner, TResult>>, IQueryable<TResult>>(Join).Method,
313
/// The following code example demonstrates how to use <see cref="Join{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}}, IEqualityComparer{TKey})" /> to perform an inner join of two sequences based on a common key.
374
/// This method has at least one parameter of type <see cref="
Expression
{TDelegate}" /> whose type argument is one of the <see cref="Func{T,TResult}" /> types.
375
/// For these parameters, you can pass in a lambda expression and it will be compiled to an <see cref="
Expression
{TDelegate}" />.
378
/// The <see cref="Join{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}}, IEqualityComparer{TKey})" /> method
380
/// <see cref="Join{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}}, IEqualityComparer{TKey})" />
386
/// <see cref="Join{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}}, IEqualityComparer{TKey})" />
396
public 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)
407
new Func<IQueryable<TOuter>, IEnumerable<TInner>,
Expression
<Func<TOuter, TKey>>,
Expression
<Func<TInner, TKey>>,
Expression
<Func<TOuter, TInner, TResult>>, IEqualityComparer<TKey>, IQueryable<TResult>>(Join).Method,
429
public static IQueryable<IGrouping<TOuter, TInner>> GroupJoin<TOuter, TInner, TKey>(this IQueryable<TOuter> outer, IEnumerable<TInner> inner,
Expression
<Func<TOuter, TKey>> outerKeySelector,
Expression
<Func<TInner, TKey>> innerKeySelector, IEqualityComparer<TKey>? comparer = null)
439
new Func<IQueryable<TOuter>, IEnumerable<TInner>,
Expression
<Func<TOuter, TKey>>,
Expression
<Func<TInner, TKey>>, IEqualityComparer<TKey>, IQueryable<IGrouping<TOuter, TInner>>>(GroupJoin).Method,
457
public static IQueryable<(TOuter Outer, TInner Inner)> Join<TOuter, TInner, TKey>(this IQueryable<TOuter> outer, IEnumerable<TInner> inner,
Expression
<Func<TOuter, TKey>> outerKeySelector,
Expression
<Func<TInner, TKey>> innerKeySelector, IEqualityComparer<TKey>? comparer = null)
467
new Func<IQueryable<TOuter>, IEnumerable<TInner>,
Expression
<Func<TOuter, TKey>>,
Expression
<Func<TInner, TKey>>, IEqualityComparer<TKey>, IQueryable<(TOuter Outer, TInner Inner)>>(Join).Method,
472
public 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)
483
new Func<IQueryable<TOuter>, IEnumerable<TInner>,
Expression
<Func<TOuter, TKey>>,
Expression
<Func<TInner, TKey>>,
Expression
<Func<TOuter, IEnumerable<TInner>, TResult>>, IQueryable<TResult>>(GroupJoin).Method,
488
public 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)
499
new Func<IQueryable<TOuter>, IEnumerable<TInner>,
Expression
<Func<TOuter, TKey>>,
Expression
<Func<TInner, TKey>>,
Expression
<Func<TOuter, IEnumerable<TInner>, TResult>>, IEqualityComparer<TKey>, IQueryable<TResult>>(GroupJoin).Method,
519
/// The following code example demonstrates how to use <see cref="LeftJoin{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}}, IEqualityComparer{TKey})" /> to perform an inner join of two sequences based on a common key.
580
/// This method has at least one parameter of type <see cref="
Expression
{TDelegate}" /> whose type argument is one of the <see cref="Func{T,TResult}" /> types.
581
/// For these parameters, you can pass in a lambda expression and it will be compiled to an <see cref="
Expression
{TDelegate}" />.
584
/// The <see cref="LeftJoin{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}})" /> method
586
/// <see cref="LeftJoin{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}})" />
592
/// <see cref="LeftJoin{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}})" />
602
public static IQueryable<TResult> LeftJoin<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)
613
new Func<IQueryable<TOuter>, IEnumerable<TInner>,
Expression
<Func<TOuter, TKey>>,
Expression
<Func<TInner, TKey>>,
Expression
<Func<TOuter, TInner?, TResult>>, IQueryable<TResult>>(LeftJoin).Method,
634
/// The following code example demonstrates how to use <see cref="LeftJoin{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}}, IEqualityComparer{TKey})" /> to perform an inner join of two sequences based on a common key.
695
/// This method has at least one parameter of type <see cref="
Expression
{TDelegate}" /> whose type argument is one of the <see cref="Func{T,TResult}" /> types.
696
/// For these parameters, you can pass in a lambda expression and it will be compiled to an <see cref="
Expression
{TDelegate}" />.
699
/// The <see cref="LeftJoin{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}}, IEqualityComparer{TKey})" /> method
701
/// <see cref="LeftJoin{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}}, IEqualityComparer{TKey})" />
707
/// <see cref="LeftJoin{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}}, IEqualityComparer{TKey})" />
717
public static IQueryable<TResult> LeftJoin<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)
728
new Func<IQueryable<TOuter>, IEnumerable<TInner>,
Expression
<Func<TOuter, TKey>>,
Expression
<Func<TInner, TKey>>,
Expression
<Func<TOuter, TInner?, TResult>>, IEqualityComparer<TKey>, IQueryable<TResult>>(LeftJoin).Method,
746
public static IQueryable<(TOuter Outer, TInner? Inner)> LeftJoin<TOuter, TInner, TKey>(this IQueryable<TOuter> outer, IEnumerable<TInner> inner,
Expression
<Func<TOuter, TKey>> outerKeySelector,
Expression
<Func<TInner, TKey>> innerKeySelector, IEqualityComparer<TKey>? comparer = null)
756
new Func<IQueryable<TOuter>, IEnumerable<TInner>,
Expression
<Func<TOuter, TKey>>,
Expression
<Func<TInner, TKey>>, IEqualityComparer<TKey>, IQueryable<(TOuter Outer, TInner? Inner)>>(LeftJoin).Method,
768
/// This method has at least one parameter of type <see cref="
Expression
{TDelegate}"/> whose type argument is one
770
/// For these parameters, you can pass in a lambda expression and it will be compiled to an <see cref="
Expression
{TDelegate}"/>.
805
/// This method has at least one parameter of type <see cref="
Expression
{TDelegate}"/> whose type argument is one
807
/// For these parameters, you can pass in a lambda expression and it will be compiled to an <see cref="
Expression
{TDelegate}"/>.
834
public static IOrderedQueryable<TSource> OrderBy<TSource, TKey>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector)
842
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TKey>>, IOrderedQueryable<TSource>>(OrderBy).Method,
847
public static IOrderedQueryable<TSource> OrderBy<TSource, TKey>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector, IComparer<TKey>? comparer)
855
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TKey>>, IComparer<TKey>, IOrderedQueryable<TSource>>(OrderBy).Method,
867
/// This method has at least one parameter of type <see cref="
Expression
{TDelegate}"/> whose type argument is one
869
/// For these parameters, you can pass in a lambda expression and it will be compiled to an <see cref="
Expression
{TDelegate}"/>.
904
/// This method has at least one parameter of type <see cref="
Expression
{TDelegate}"/> whose type argument is one
906
/// For these parameters, you can pass in a lambda expression and it will be compiled to an <see cref="
Expression
{TDelegate}"/>.
933
public static IOrderedQueryable<TSource> OrderByDescending<TSource, TKey>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector)
941
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TKey>>, IOrderedQueryable<TSource>>(OrderByDescending).Method,
946
public static IOrderedQueryable<TSource> OrderByDescending<TSource, TKey>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector, IComparer<TKey>? comparer)
954
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TKey>>, IComparer<TKey>, IOrderedQueryable<TSource>>(OrderByDescending).Method,
974
/// The following code example demonstrates how to use <see cref="RightJoin{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}}, IEqualityComparer{TKey})" /> to perform an inner join of two sequences based on a common key.
1034
/// This method has at least one parameter of type <see cref="
Expression
{TDelegate}" /> whose type argument is one of the <see cref="Func{T,TResult}" /> types.
1035
/// For these parameters, you can pass in a lambda expression and it will be compiled to an <see cref="
Expression
{TDelegate}" />.
1038
/// The <see cref="RightJoin{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}})" /> method
1040
/// <see cref="RightJoin{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}})" />
1046
/// <see cref="RightJoin{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}})" />
1056
public static IQueryable<TResult> RightJoin<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)
1067
new Func<IQueryable<TOuter>, IEnumerable<TInner>,
Expression
<Func<TOuter, TKey>>,
Expression
<Func<TInner, TKey>>,
Expression
<Func<TOuter?, TInner, TResult>>, IQueryable<TResult>>(RightJoin).Method,
1088
/// The following code example demonstrates how to use <see cref="RightJoin{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}}, IEqualityComparer{TKey})" /> to perform an inner join of two sequences based on a common key.
1148
/// This method has at least one parameter of type <see cref="
Expression
{TDelegate}" /> whose type argument is one of the <see cref="Func{T,TResult}" /> types.
1149
/// For these parameters, you can pass in a lambda expression and it will be compiled to an <see cref="
Expression
{TDelegate}" />.
1152
/// The <see cref="RightJoin{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}}, IEqualityComparer{TKey})" /> method
1154
/// <see cref="RightJoin{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}}, IEqualityComparer{TKey})" />
1160
/// <see cref="RightJoin{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}}, IEqualityComparer{TKey})" />
1170
public static IQueryable<TResult> RightJoin<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)
1181
new Func<IQueryable<TOuter>, IEnumerable<TInner>,
Expression
<Func<TOuter, TKey>>,
Expression
<Func<TInner, TKey>>,
Expression
<Func<TOuter?, TInner, TResult>>, IEqualityComparer<TKey>, IQueryable<TResult>>(RightJoin).Method,
1199
public static IQueryable<(TOuter? Outer, TInner Inner)> RightJoin<TOuter, TInner, TKey>(this IQueryable<TOuter> outer, IEnumerable<TInner> inner,
Expression
<Func<TOuter, TKey>> outerKeySelector,
Expression
<Func<TInner, TKey>> innerKeySelector, IEqualityComparer<TKey>? comparer = null)
1209
new Func<IQueryable<TOuter>, IEnumerable<TInner>,
Expression
<Func<TOuter, TKey>>,
Expression
<Func<TInner, TKey>>, IEqualityComparer<TKey>, IQueryable<(TOuter? Outer, TInner Inner)>>(RightJoin).Method,
1233
/// This method has at least one parameter of type <see cref="
Expression
{TDelegate}" /> whose type argument is one of the <see cref="Func{T,TResult}" /> types.
1234
/// For these parameters, you can pass in a lambda expression and it will be compiled to an <see cref="
Expression
{TDelegate}" />.
1237
/// The <see cref="FullJoin{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}}, IEqualityComparer{TKey})" /> method
1239
/// <see cref="FullJoin{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}}, IEqualityComparer{TKey})" />
1245
/// <see cref="FullJoin{TOuter, TInner, TKey, TResult}(IQueryable{TOuter}, IEnumerable{TInner},
Expression
{Func{TOuter, TKey}},
Expression
{Func{TInner, TKey}},
Expression
{Func{TOuter, TInner, TResult}}, IEqualityComparer{TKey})" />
1251
public static IQueryable<TResult> FullJoin<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 = null)
1262
new Func<IQueryable<TOuter>, IEnumerable<TInner>,
Expression
<Func<TOuter, TKey>>,
Expression
<Func<TInner, TKey>>,
Expression
<Func<TOuter?, TInner?, TResult>>, IEqualityComparer<TKey>, IQueryable<TResult>>(FullJoin).Method,
1282
public static IQueryable<(TOuter? Outer, TInner? Inner)> FullJoin<TOuter, TInner, TKey>(this IQueryable<TOuter> outer, IEnumerable<TInner> inner,
Expression
<Func<TOuter, TKey>> outerKeySelector,
Expression
<Func<TInner, TKey>> innerKeySelector, IEqualityComparer<TKey>? comparer = null)
1292
new Func<IQueryable<TOuter>, IEnumerable<TInner>,
Expression
<Func<TOuter, TKey>>,
Expression
<Func<TInner, TKey>>, IEqualityComparer<TKey>, IQueryable<(TOuter? Outer, TInner? Inner)>>(FullJoin).Method,
1297
public static IOrderedQueryable<TSource> ThenBy<TSource, TKey>(this IOrderedQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector)
1305
new Func<IOrderedQueryable<TSource>,
Expression
<Func<TSource, TKey>>, IOrderedQueryable<TSource>>(ThenBy).Method,
1310
public static IOrderedQueryable<TSource> ThenBy<TSource, TKey>(this IOrderedQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector, IComparer<TKey>? comparer)
1318
new Func<IOrderedQueryable<TSource>,
Expression
<Func<TSource, TKey>>, IComparer<TKey>, IOrderedQueryable<TSource>>(ThenBy).Method,
1323
public static IOrderedQueryable<TSource> ThenByDescending<TSource, TKey>(this IOrderedQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector)
1331
new Func<IOrderedQueryable<TSource>,
Expression
<Func<TSource, TKey>>, IOrderedQueryable<TSource>>(ThenByDescending).Method,
1336
public static IOrderedQueryable<TSource> ThenByDescending<TSource, TKey>(this IOrderedQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector, IComparer<TKey>? comparer)
1344
new Func<IOrderedQueryable<TSource>,
Expression
<Func<TSource, TKey>>, IComparer<TKey>, IOrderedQueryable<TSource>>(ThenByDescending).Method,
1379
public static IQueryable<TSource> TakeWhile<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate)
1387
new Func<IQueryable<TSource>,
Expression
<Func<TSource, bool>>, IQueryable<TSource>>(TakeWhile).Method,
1392
public static IQueryable<TSource> TakeWhile<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, int, bool>> predicate)
1400
new Func<IQueryable<TSource>,
Expression
<Func<TSource, int, bool>>, IQueryable<TSource>>(TakeWhile).Method,
1417
public static IQueryable<TSource> SkipWhile<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate)
1425
new Func<IQueryable<TSource>,
Expression
<Func<TSource, bool>>, IQueryable<TSource>>(SkipWhile).Method,
1430
public static IQueryable<TSource> SkipWhile<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, int, bool>> predicate)
1438
new Func<IQueryable<TSource>,
Expression
<Func<TSource, int, bool>>, IQueryable<TSource>>(SkipWhile).Method,
1443
public static IQueryable<IGrouping<TKey, TSource>> GroupBy<TSource, TKey>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector)
1451
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TKey>>, IQueryable<IGrouping<TKey, TSource>>>(GroupBy).Method,
1456
public static IQueryable<IGrouping<TKey, TElement>> GroupBy<TSource, TKey, TElement>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector,
Expression
<Func<TSource, TElement>> elementSelector)
1465
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TKey>>,
Expression
<Func<TSource, TElement>>, IQueryable<IGrouping<TKey, TElement>>>(GroupBy).Method,
1470
public static IQueryable<IGrouping<TKey, TSource>> GroupBy<TSource, TKey>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector, IEqualityComparer<TKey>? comparer)
1478
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TKey>>, IEqualityComparer<TKey>, IQueryable<IGrouping<TKey, TSource>>>(GroupBy).Method,
1483
public 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)
1492
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TKey>>,
Expression
<Func<TSource, TElement>>, IEqualityComparer<TKey>, IQueryable<IGrouping<TKey, TElement>>>(GroupBy).Method,
1497
public 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)
1507
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TKey>>,
Expression
<Func<TSource, TElement>>,
Expression
<Func<TKey, IEnumerable<TElement>, TResult>>, IQueryable<TResult>>(GroupBy).Method,
1512
public static IQueryable<TResult> GroupBy<TSource, TKey, TResult>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector,
Expression
<Func<TKey, IEnumerable<TSource>, TResult>> resultSelector)
1521
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TKey>>,
Expression
<Func<TKey, IEnumerable<TSource>, TResult>>, IQueryable<TResult>>(GroupBy).Method,
1526
public 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)
1535
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TKey>>,
Expression
<Func<TKey, IEnumerable<TSource>, TResult>>, IEqualityComparer<TKey>, IQueryable<TResult>>(GroupBy).Method,
1540
public 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)
1550
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TKey>>,
Expression
<Func<TSource, TElement>>,
Expression
<Func<TKey, IEnumerable<TElement>, TResult>>, IEqualityComparer<TKey>, IQueryable<TResult>>(GroupBy).Method,
1586
public static IQueryable<TSource> DistinctBy<TSource, TKey>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector)
1594
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TKey>>, IQueryable<TSource>>(DistinctBy).Method,
1607
public static IQueryable<TSource> DistinctBy<TSource, TKey>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector, IEqualityComparer<TKey>? comparer)
1615
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TKey>>, IEqualityComparer<TKey>, IQueryable<TSource>>(DistinctBy).Method,
1669
public static IQueryable<TResult> Zip<TFirst, TSecond, TResult>(this IQueryable<TFirst> source1, IEnumerable<TSecond> source2,
Expression
<Func<TFirst, TSecond, TResult>> resultSelector)
1678
new Func<IQueryable<TFirst>, IEnumerable<TSecond>,
Expression
<Func<TFirst, TSecond, TResult>>, IQueryable<TResult>>(Zip).Method,
1743
public static IQueryable<TSource> UnionBy<TSource, TKey>(this IQueryable<TSource> source1, IEnumerable<TSource> source2,
Expression
<Func<TSource, TKey>> keySelector)
1752
new Func<IQueryable<TSource>, IEnumerable<TSource>,
Expression
<Func<TSource, TKey>>, IQueryable<TSource>>(UnionBy).Method,
1766
public static IQueryable<TSource> UnionBy<TSource, TKey>(this IQueryable<TSource> source1, IEnumerable<TSource> source2,
Expression
<Func<TSource, TKey>> keySelector, IEqualityComparer<TKey>? comparer)
1775
new Func<IQueryable<TSource>, IEnumerable<TSource>,
Expression
<Func<TSource, TKey>>, IEqualityComparer<TKey>, IQueryable<TSource>>(UnionBy).Method,
1836
public static IQueryable<TSource> IntersectBy<TSource, TKey>(this IQueryable<TSource> source1, IEnumerable<TKey> source2,
Expression
<Func<TSource, TKey>> keySelector)
1845
new Func<IQueryable<TSource>, IEnumerable<TKey>,
Expression
<Func<TSource, TKey>>, IQueryable<TSource>>(IntersectBy).Method,
1861
public static IQueryable<TSource> IntersectBy<TSource, TKey>(this IQueryable<TSource> source1, IEnumerable<TKey> source2,
Expression
<Func<TSource, TKey>> keySelector, IEqualityComparer<TKey>? comparer)
1870
new Func<IQueryable<TSource>, IEnumerable<TKey>,
Expression
<Func<TSource, TKey>>, IEqualityComparer<TKey>, IQueryable<TSource>>(IntersectBy).Method,
1915
public static IQueryable<TSource> ExceptBy<TSource, TKey>(this IQueryable<TSource> source1, IEnumerable<TKey> source2,
Expression
<Func<TSource, TKey>> keySelector)
1924
new Func<IQueryable<TSource>, IEnumerable<TKey>,
Expression
<Func<TSource, TKey>>, IQueryable<TSource>>(ExceptBy).Method,
1941
public static IQueryable<TSource> ExceptBy<TSource, TKey>(this IQueryable<TSource> source1, IEnumerable<TKey> source2,
Expression
<Func<TSource, TKey>> keySelector, IEqualityComparer<TKey>? comparer)
1950
new Func<IQueryable<TSource>, IEnumerable<TKey>,
Expression
<Func<TSource, TKey>>, IEqualityComparer<TKey>, IQueryable<TSource>>(ExceptBy).Method,
1970
public static TSource First<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate)
1978
new Func<IQueryable<TSource>,
Expression
<Func<TSource, bool>>, TSource>(First).Method,
2013
public static TSource? FirstOrDefault<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate)
2021
new Func<IQueryable<TSource>,
Expression
<Func<TSource, bool>>, TSource?>(FirstOrDefault).Method,
2033
public static TSource FirstOrDefault<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate, TSource defaultValue)
2041
new Func<IQueryable<TSource>,
Expression
<Func<TSource, bool>>, TSource, TSource>(FirstOrDefault).Method,
2058
public static TSource Last<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate)
2066
new Func<IQueryable<TSource>,
Expression
<Func<TSource, bool>>, TSource>(Last).Method,
2101
public static TSource? LastOrDefault<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate)
2109
new Func<IQueryable<TSource>,
Expression
<Func<TSource, bool>>, TSource?>(LastOrDefault).Method,
2121
public static TSource LastOrDefault<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate, TSource defaultValue)
2129
new Func<IQueryable<TSource>,
Expression
<Func<TSource, bool>>, TSource, TSource>(LastOrDefault).Method,
2147
public static TSource Single<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate)
2155
new Func<IQueryable<TSource>,
Expression
<Func<TSource, bool>>, TSource>(Single).Method,
2191
public static TSource? SingleOrDefault<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate)
2199
new Func<IQueryable<TSource>,
Expression
<Func<TSource, bool>>, TSource?>(SingleOrDefault).Method,
2212
public static TSource SingleOrDefault<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate, TSource defaultValue)
2220
new Func<IQueryable<TSource>,
Expression
<Func<TSource, bool>>, TSource, TSource>(SingleOrDefault).Method,
2410
public static bool Any<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate)
2418
new Func<IQueryable<TSource>,
Expression
<Func<TSource, bool>>, bool>(Any).Method,
2423
public static bool All<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate)
2431
new Func<IQueryable<TSource>,
Expression
<Func<TSource, bool>>, bool>(All).Method,
2448
public static int Count<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate)
2456
new Func<IQueryable<TSource>,
Expression
<Func<TSource, bool>>, int>(Count).Method,
2469
public static IQueryable<KeyValuePair<TKey, int>> CountBy<TSource, TKey>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector, IEqualityComparer<TKey>? comparer = null) where TKey : notnull
2477
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TKey>>, IEqualityComparer<TKey>, IQueryable<KeyValuePair<TKey, int>>>(CountBy).Method,
2494
public static long LongCount<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate)
2502
new Func<IQueryable<TSource>,
Expression
<Func<TSource, bool>>, long>(LongCount).Method,
2539
public static TResult? Min<TSource, TResult>(this IQueryable<TSource> source,
Expression
<Func<TSource, TResult>> selector)
2547
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TResult>>, TResult?>(Min).Method,
2560
public static TSource? MinBy<TSource, TKey>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector)
2568
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TKey>>, TSource?>(MinBy).Method,
2586
public static TSource? MinBy<TSource, TKey>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector, IComparer<TSource>? comparer)
2594
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TKey>>, IComparer<TSource>, TSource?>(MinBy).Method,
2610
public static TSource? MinBy<TSource, TKey>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector, IComparer<TKey>? comparer)
2618
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TKey>>, IComparer<TKey>, TSource?>(MinBy).Method,
2656
public static TResult? Max<TSource, TResult>(this IQueryable<TSource> source,
Expression
<Func<TSource, TResult>> selector)
2664
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TResult>>, TResult?>(Max).Method,
2677
public static TSource? MaxBy<TSource, TKey>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector)
2685
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TKey>>, TSource?>(MaxBy).Method,
2703
public static TSource? MaxBy<TSource, TKey>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector, IComparer<TSource>? comparer)
2711
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TKey>>, IComparer<TSource>, TSource?>(MaxBy).Method,
2727
public static TSource? MaxBy<TSource, TKey>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector, IComparer<TKey>? comparer)
2735
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TKey>>, IComparer<TKey>, TSource?>(MaxBy).Method,
2862
public static int Sum<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, int>> selector)
2870
new Func<IQueryable<TSource>,
Expression
<Func<TSource, int>>, int>(Sum).Method,
2875
public static int? Sum<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, int?>> selector)
2883
new Func<IQueryable<TSource>,
Expression
<Func<TSource, int?>>, int?>(Sum).Method,
2888
public static long Sum<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, long>> selector)
2896
new Func<IQueryable<TSource>,
Expression
<Func<TSource, long>>, long>(Sum).Method,
2901
public static long? Sum<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, long?>> selector)
2909
new Func<IQueryable<TSource>,
Expression
<Func<TSource, long?>>, long?>(Sum).Method,
2914
public static float Sum<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, float>> selector)
2922
new Func<IQueryable<TSource>,
Expression
<Func<TSource, float>>, float>(Sum).Method,
2927
public static float? Sum<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, float?>> selector)
2935
new Func<IQueryable<TSource>,
Expression
<Func<TSource, float?>>, float?>(Sum).Method,
2940
public static double Sum<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, double>> selector)
2948
new Func<IQueryable<TSource>,
Expression
<Func<TSource, double>>, double>(Sum).Method,
2953
public static double? Sum<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, double?>> selector)
2961
new Func<IQueryable<TSource>,
Expression
<Func<TSource, double?>>, double?>(Sum).Method,
2966
public static decimal Sum<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, decimal>> selector)
2974
new Func<IQueryable<TSource>,
Expression
<Func<TSource, decimal>>, decimal>(Sum).Method,
2979
public static decimal? Sum<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, decimal?>> selector)
2987
new Func<IQueryable<TSource>,
Expression
<Func<TSource, decimal?>>, decimal?>(Sum).Method,
3112
public static double Average<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, int>> selector)
3120
new Func<IQueryable<TSource>,
Expression
<Func<TSource, int>>, double>(Average).Method,
3125
public static double? Average<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, int?>> selector)
3133
new Func<IQueryable<TSource>,
Expression
<Func<TSource, int?>>, double?>(Average).Method,
3138
public static float Average<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, float>> selector)
3146
new Func<IQueryable<TSource>,
Expression
<Func<TSource, float>>, float>(Average).Method,
3151
public static float? Average<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, float?>> selector)
3159
new Func<IQueryable<TSource>,
Expression
<Func<TSource, float?>>, float?>(Average).Method,
3164
public static double Average<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, long>> selector)
3172
new Func<IQueryable<TSource>,
Expression
<Func<TSource, long>>, double>(Average).Method,
3177
public static double? Average<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, long?>> selector)
3185
new Func<IQueryable<TSource>,
Expression
<Func<TSource, long?>>, double?>(Average).Method,
3190
public static double Average<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, double>> selector)
3198
new Func<IQueryable<TSource>,
Expression
<Func<TSource, double>>, double>(Average).Method,
3203
public static double? Average<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, double?>> selector)
3211
new Func<IQueryable<TSource>,
Expression
<Func<TSource, double?>>, double?>(Average).Method,
3216
public static decimal Average<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, decimal>> selector)
3224
new Func<IQueryable<TSource>,
Expression
<Func<TSource, decimal>>, decimal>(Average).Method,
3229
public static decimal? Average<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, decimal?>> selector)
3237
new Func<IQueryable<TSource>,
Expression
<Func<TSource, decimal?>>, decimal?>(Average).Method,
3242
public static TSource Aggregate<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, TSource, TSource>> func)
3250
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TSource, TSource>>, TSource>(Aggregate).Method,
3255
public static TAccumulate Aggregate<TSource, TAccumulate>(this IQueryable<TSource> source, TAccumulate seed,
Expression
<Func<TAccumulate, TSource, TAccumulate>> func)
3263
new Func<IQueryable<TSource>, TAccumulate,
Expression
<Func<TAccumulate, TSource, TAccumulate>>, TAccumulate>(Aggregate).Method,
3268
public static TResult Aggregate<TSource, TAccumulate, TResult>(this IQueryable<TSource> source, TAccumulate seed,
Expression
<Func<TAccumulate, TSource, TAccumulate>> func,
Expression
<Func<TAccumulate, TResult>> selector)
3277
new Func<IQueryable<TSource>, TAccumulate,
Expression
<Func<TAccumulate, TSource, TAccumulate>>,
Expression
<Func<TAccumulate, TResult>>, TResult>(Aggregate).Method,
3294
/// This method is comparable to the <see cref="GroupBy{TSource, TKey}(IQueryable{TSource},
Expression
{Func{TSource, TKey}})"/> methods
3298
public static IQueryable<KeyValuePair<TKey, TAccumulate>> AggregateBy<TSource, TKey, TAccumulate>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector, TAccumulate seed,
Expression
<Func<TAccumulate, TSource, TAccumulate>> func, IEqualityComparer<TKey>? keyComparer = null) where TKey : notnull
3307
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TKey>>, TAccumulate,
Expression
<Func<TAccumulate, TSource, TAccumulate>>, IEqualityComparer<TKey>, IQueryable<KeyValuePair<TKey, TAccumulate>>>(AggregateBy).Method,
3324
/// This method is comparable to the <see cref="GroupBy{TSource, TKey}(IQueryable{TSource},
Expression
{Func{TSource, TKey}})"/> methods
3328
public static IQueryable<KeyValuePair<TKey, TAccumulate>> AggregateBy<TSource, TKey, TAccumulate>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector,
Expression
<Func<TKey, TAccumulate>> seedSelector,
Expression
<Func<TAccumulate, TSource, TAccumulate>> func, IEqualityComparer<TKey>? keyComparer = null) where TKey : notnull
3338
new Func<IQueryable<TSource>,
Expression
<Func<TSource, TKey>>,
Expression
<Func<TKey, TAccumulate>>,
Expression
<Func<TAccumulate, TSource, TAccumulate>>, IEqualityComparer<TKey>, IQueryable<KeyValuePair<TKey, TAccumulate>>>(AggregateBy).Method,
System.ServiceModel.Primitives (1)
System\ServiceModel\Dispatcher\InvokerUtil.cs (1)
190
Expression
<InvokeDelegate> lambda = Expression.Lambda<InvokeDelegate>(