Upraviť

Zdieľať cez


IDynamicExpression Interface

Definition

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.

public interface class IDynamicExpression : System::Linq::Expressions::IArgumentProvider
public interface IDynamicExpression : System.Linq.Expressions.IArgumentProvider
type IDynamicExpression = interface
    interface IArgumentProvider
Public Interface IDynamicExpression
Implements IArgumentProvider
Derived
Implements

Properties

ArgumentCount

Returns the number of arguments to the expression tree node. This API is for internal use only.

(Inherited from IArgumentProvider)
DelegateType

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

Methods

CreateCallSite()

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.

GetArgument(Int32)

Returns the argument at index, throwing if index is out of bounds. This API is for internal use only.

(Inherited from IArgumentProvider)
Rewrite(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.

Applies to