public static MakeDynamic ( Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder ) : |
||
delegateType | Type | The type of the delegate used by the |
binder | System.Runtime.CompilerServices.CallSiteBinder | The runtime binder for the dynamic operation. |
return |
public static new DynamicExpression MakeDynamic(Type delegateType, CallSiteBinder binder, params Expression[] arguments)
{
return ExpressionExtension.MakeDynamic(delegateType, binder, arguments);
}
DynamicExpression::MakeDynamic ( Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, |
|
DynamicExpression::MakeDynamic ( Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, |
|
DynamicExpression::MakeDynamic ( Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, |
|
DynamicExpression::MakeDynamic ( Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, |
|
DynamicExpression::MakeDynamic ( Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, IEnumerable |
/// <summary> /// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />. /// </summary> /// <param name="delegateType">The type of the delegate used by the <see cref="CallSite" />.</param> /// <param name="binder">The runtime binder for the dynamic operation.</param> /// <param name="arguments">The arguments to the dynamic operation.</param> /// <returns> /// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to /// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the /// <see cref="DynamicExpression.DelegateType">DelegateType</see>, /// <see cref="DynamicExpression.Binder">Binder</see>, and /// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values. /// </returns> public static DynamicExpression MakeDynamic(Type delegateType, CallSiteBinder binder, IEnumerable <Expression>?arguments) => DynamicExpression.MakeDynamic(delegateType, binder, arguments);