Table of Contents

Class LambdaScopeFactory

Namespace
JsonApiDotNetCore.Queries.QueryableBuilding
Assembly
JsonApiDotNetCore.dll

Produces lambda parameters with unique names.

[PublicAPI]
public sealed class LambdaScopeFactory
Inheritance
LambdaScopeFactory
Inherited Members

Methods

CreateScope(Type, Expression?)

Finds the next unique lambda parameter name. Dispose the returned scope to release the claimed name, so it can be reused.

public LambdaScope CreateScope(Type elementType, Expression? accessorExpression = null)

Parameters

elementType Type
accessorExpression Expression

Returns

LambdaScope