Dela via


Expression.ReferenceWalk(Expression, Func<Expression,Boolean>) Metod

Definition

Walking-funktion för att identifiera statiska minnesreferenser i ett uttryck.

public (string path, System.Collections.Generic.HashSet<string> references) ReferenceWalk (AdaptiveExpressions.Expression expression, Func<AdaptiveExpressions.Expression,bool> extension = default);
member this.ReferenceWalk : AdaptiveExpressions.Expression * Func<AdaptiveExpressions.Expression, bool> -> ValueTuple<string, System.Collections.Generic.HashSet<string>>
Public Function ReferenceWalk (expression As Expression, Optional extension As Func(Of Expression, Boolean) = Nothing) As ValueTuple(Of String, HashSet(Of String))

Parametrar

expression
Expression

Uttryck som ska analyseras.

extension
Func<Expression,Boolean>

Om det finns anropas för att åsidosätta uppslag för saker som mallexpansion.

Returer

Accessor-sökvägen för uttryck som är en potentiell partiell sökväg och den fullständiga sökvägen som hittats hittills.

Gäller för