Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ExpressionVisitor Class

 

Represents a visitor or rewriter for expression trees.

Namespace:   System.Linq.Expressions
Assembly:  System.Core (in System.Core.dll)

System.Object
  System.Linq.Expressions.ExpressionVisitor
    System.Linq.Expressions.DynamicExpressionVisitor

public abstract class ExpressionVisitor

NameDescription
System_CAPS_protmethodExpressionVisitor()

Initializes a new instance of ExpressionVisitor.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodVisit(Expression)

Dispatches the expression to one of the more specialized visit methods in this class.

System_CAPS_pubmethodVisit(ReadOnlyCollection<Expression>)

Dispatches the list of expressions to one of the more specialized visit methods in this class.

System_CAPS_pubmethodSystem_CAPS_staticVisit<T>(ReadOnlyCollection<T>, Func<T, T>)

Visits all nodes in the collection using a specified element visitor.

System_CAPS_pubmethodVisitAndConvert<T>(T, String)

Visits an expression, casting the result back to the original expression type.

System_CAPS_pubmethodVisitAndConvert<T>(ReadOnlyCollection<T>, String)

Visits an expression, casting the result back to the original expression type.

System_CAPS_protmethodVisitBinary(BinaryExpression)

Visits the children of the BinaryExpression.

System_CAPS_protmethodVisitBlock(BlockExpression)

Visits the children of the BlockExpression.

System_CAPS_protmethodVisitCatchBlock(CatchBlock)

Visits the children of the CatchBlock.

System_CAPS_protmethodVisitConditional(ConditionalExpression)

Visits the children of the ConditionalExpression.

System_CAPS_protmethodVisitConstant(ConstantExpression)

Visits the ConstantExpression.

System_CAPS_protmethodVisitDebugInfo(DebugInfoExpression)
System_CAPS_protmethodVisitDefault(DefaultExpression)

Visits the DefaultExpression.

System_CAPS_protmethodVisitDynamic(DynamicExpression)

Visits the children of the DynamicExpression.

System_CAPS_protmethodVisitElementInit(ElementInit)

Visits the children of the ElementInit.

System_CAPS_protmethodVisitExtension(Expression)

Visits the children of the extension expression.

System_CAPS_protmethodVisitGoto(GotoExpression)

Visits the children of the GotoExpression.

System_CAPS_protmethodVisitIndex(IndexExpression)

Visits the children of the IndexExpression.

System_CAPS_protmethodVisitInvocation(InvocationExpression)

Visits the children of the InvocationExpression.

System_CAPS_protmethodVisitLabel(LabelExpression)

Visits the children of the LabelExpression.

System_CAPS_protmethodVisitLabelTarget(LabelTarget)

Visits the LabelTarget.

System_CAPS_protmethodVisitLambda<T>(Expression<T>)

Visits the children of the Expression<TDelegate>.

System_CAPS_protmethodVisitListInit(ListInitExpression)

Visits the children of the ListInitExpression.

System_CAPS_protmethodVisitLoop(LoopExpression)

Visits the children of the LoopExpression.

System_CAPS_protmethodVisitMember(MemberExpression)

Visits the children of the MemberExpression.

System_CAPS_protmethodVisitMemberAssignment(MemberAssignment)

Visits the children of the MemberAssignment.

System_CAPS_protmethodVisitMemberBinding(MemberBinding)

Visits the children of the MemberBinding.

System_CAPS_protmethodVisitMemberInit(MemberInitExpression)

Visits the children of the MemberInitExpression.

System_CAPS_protmethodVisitMemberListBinding(MemberListBinding)

Visits the children of the MemberListBinding.

System_CAPS_protmethodVisitMemberMemberBinding(MemberMemberBinding)

Visits the children of the MemberMemberBinding.

System_CAPS_protmethodVisitMethodCall(MethodCallExpression)

Visits the children of the MethodCallExpression.

System_CAPS_protmethodVisitNew(NewExpression)

Visits the children of the NewExpression.

System_CAPS_protmethodVisitNewArray(NewArrayExpression)

Visits the children of the NewArrayExpression.

System_CAPS_protmethodVisitParameter(ParameterExpression)
System_CAPS_protmethodVisitRuntimeVariables(RuntimeVariablesExpression)

Visits the children of the RuntimeVariablesExpression.

System_CAPS_protmethodVisitSwitch(SwitchExpression)

Visits the children of the SwitchExpression.

System_CAPS_protmethodVisitSwitchCase(SwitchCase)

Visits the children of the SwitchCase.

System_CAPS_protmethodVisitTry(TryExpression)

Visits the children of the TryExpression.

System_CAPS_protmethodVisitTypeBinary(TypeBinaryExpression)

Visits the children of the TypeBinaryExpression.

System_CAPS_protmethodVisitUnary(UnaryExpression)

Visits the children of the UnaryExpression.

This class is designed to be inherited to create more specialized classes whose functionality requires traversing, examining or copying an expression tree.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft