Share via


ExpressionPrinter.VisitCollection<T> Method

Definition

Visit given readonly collection of expression for printing.

public virtual void VisitCollection<T> (System.Collections.Generic.IReadOnlyCollection<T> items, Action<Microsoft.EntityFrameworkCore.Query.ExpressionPrinter> joinAction = default) where T : System.Linq.Expressions.Expression;
public virtual void VisitCollection<T> (System.Collections.Generic.IReadOnlyCollection<T> items, Action<Microsoft.EntityFrameworkCore.Query.ExpressionPrinter>? joinAction = default) where T : System.Linq.Expressions.Expression;
abstract member VisitCollection : System.Collections.Generic.IReadOnlyCollection<'T (requires 'T :> System.Linq.Expressions.Expression)> * Action<Microsoft.EntityFrameworkCore.Query.ExpressionPrinter> -> unit (requires 'T :> System.Linq.Expressions.Expression)
override this.VisitCollection : System.Collections.Generic.IReadOnlyCollection<'T (requires 'T :> System.Linq.Expressions.Expression)> * Action<Microsoft.EntityFrameworkCore.Query.ExpressionPrinter> -> unit (requires 'T :> System.Linq.Expressions.Expression)
Public Overridable Sub VisitCollection(Of T As Expression) (items As IReadOnlyCollection(Of T), Optional joinAction As Action(Of ExpressionPrinter) = Nothing)

Type Parameters

T

Parameters

items
IReadOnlyCollection<T>

A collection of items to print.

joinAction
Action<ExpressionPrinter>

A join action to use when joining printout of individual item in the collection.

Applies to