C# Класс Microsoft.CSharp.RuntimeBinder.CSharpInvokeBinder

Represents a dynamic delegate-like call in C#, providing the binding semantics and the details about the operation. Instances of this class are generated by the C# compiler.
Наследование: System.Dynamic.InvokeBinder, ICSharpInvokeOrInvokeMemberBinder
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
CSharpInvokeBinder ( CSharpCallFlags flags, Type callingContext, IEnumerable argumentInfo ) : System

Initializes a new instance of the CSharpInvokeBinder.

FallbackInvoke ( DynamicMetaObject target, DynamicMetaObject args, DynamicMetaObject errorSuggestion ) : DynamicMetaObject

Performs the binding of the dynamic invoke operation if the target dynamic object cannot bind.

Описание методов

CSharpInvokeBinder() публичный Метод

Initializes a new instance of the CSharpInvokeBinder.
public CSharpInvokeBinder ( CSharpCallFlags flags, Type callingContext, IEnumerable argumentInfo ) : System
flags CSharpCallFlags Extra information about this operation that is not specific to any particular argument.
callingContext System.Type The that indicates where this operation is defined.
argumentInfo IEnumerable The sequence of instances for the arguments to this operation.
Результат System

FallbackInvoke() публичный Метод

Performs the binding of the dynamic invoke operation if the target dynamic object cannot bind.
public FallbackInvoke ( DynamicMetaObject target, DynamicMetaObject args, DynamicMetaObject errorSuggestion ) : DynamicMetaObject
target System.Dynamic.DynamicMetaObject The target of the dynamic invoke operation.
args System.Dynamic.DynamicMetaObject The arguments of the dynamic invoke operation.
errorSuggestion System.Dynamic.DynamicMetaObject The binding result to use if binding fails, or null.
Результат System.Dynamic.DynamicMetaObject