Class LambdaScope
- Namespace
- JsonApiDotNetCore.Queries.QueryableBuilding
- Assembly
- JsonApiDotNetCore.dll
A scoped lambda expression with a unique name. Disposing the instance releases the claimed name, so it can be reused.
[PublicAPI]
public sealed class LambdaScope : IDisposable
- Inheritance
-
LambdaScope
- Implements
- Inherited Members
Properties
Accessor
Gets the lambda accessor. For example, 'person.Account' in: person => person.Account.Name == "Joe".
public Expression Accessor { get; }
Property Value
Parameter
Gets the lambda parameter. For example, 'person' in: person => person.Account.Name == "Joe".
public ParameterExpression Parameter { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
WithAccessor(Expression)
public LambdaScope WithAccessor(Expression accessorExpression)
Parameters
accessorExpression
Expression