Table of Contents

Class TypeExpressionVisitor<T>

Namespace
NextORM.Core
Assembly
nextorm.core.dll

Expression visitor that operates on a single entity type.

public class TypeExpressionVisitor<T> : ExpressionVisitor where T : Expression

Type Parameters

T

The entity type the visitor expects at the leaves.

Inheritance
TypeExpressionVisitor<T>
Inherited Members
Extension Methods

Properties

Has

Whether a node of type T was found during the visit.

public bool Has { get; }

Property Value

bool

Target

The first node of type T found during the visit, or null.

public T? Target { get; }

Property Value

T

Methods

Visit(Expression?)

Records the first node assignable to T and stops there; otherwise continues the base traversal.

public override Expression? Visit(Expression? node)

Parameters

node Expression

The current node.

Returns

Expression

The node, or the result of the base visit.