IDynamicExpression Interface

 

Provides an internal interface for accessing the arguments of DynamicExpression tree nodes as well as CallSite and Rewriting functionality. You should not use this API. It is only public due to DLL refactoring and exists only for internal performance optimizations.

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

public interface class IDynamicExpression : IArgumentProvider

NameDescription
System_CAPS_pubpropertyArgumentCount

Returns the number of arguments to the expression tree node. You should not use this type. It is only public due to assembly refactoring, and it is used internally for performance optimizations.(Inherited from IArgumentProvider.)

System_CAPS_pubpropertyDelegateType

Gets the delegate type used by the CallSite, which is the type of the rules used in the dynamic expression’s polymorhphic inline cache.

NameDescription
System_CAPS_pubmethodCreateCallSite()

Optionally creates the CallSite and returns the CallSite for the DynamicExpression’s polymorphic inline cache. You should not use this type. It is only public due to assembly refactoring, and it is used internally for performance optimizations.

System_CAPS_pubmethodGetArgument(Int32)

Returns the argument at index, throwing if index is out of bounds. You should not use this type. It is only public due to assembly refactoring, and it is used internally for performance optimizations.(Inherited from IArgumentProvider.)

System_CAPS_pubmethodRewrite(array<Expression^>^)

Rewrites this node replacing the dynamic expression’s arguments with the provided values. The number of args needs to match the number of the current expression. You should not use this type. It is only public due to assembly refactoring, and it is used internally for performance optimizations. This helper method allows re-writing of nodes to be independent of the specific implementation class deriving from DynamicExpression that is being used at the call site.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.6
Return to top
Show: