C# Класс System.Dynamic.ConvertBinder

Represents the convert dynamic operation at the call site, providing the binding semantic and the details about the operation.
Наследование: DynamicMetaObjectBinder
Показать файл Открыть проект Примеры использования класса

Private Properties

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

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

Метод Описание
Bind ( DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject

Performs the binding of the dynamic convert operation.

FallbackConvert ( DynamicMetaObject target ) : DynamicMetaObject

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

FallbackConvert ( DynamicMetaObject target, DynamicMetaObject errorSuggestion ) : DynamicMetaObject

When overridden in the derived class, performs the binding of the dynamic convert operation if the target dynamic object cannot bind.

Защищенные методы

Метод Описание
ConvertBinder ( Type type, bool @explicit ) : System.Dynamic.Utils

Initializes a new instance of the ConvertBinder.

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

Bind() публичный закрытый Метод

Performs the binding of the dynamic convert operation.
public final Bind ( DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic convert operation.
args DynamicMetaObject An array of arguments of the dynamic convert operation.
Результат DynamicMetaObject

ConvertBinder() защищенный Метод

Initializes a new instance of the ConvertBinder.
protected ConvertBinder ( Type type, bool @explicit ) : System.Dynamic.Utils
type Type The type to convert to.
@explicit bool
Результат System.Dynamic.Utils

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

Performs the binding of the dynamic convert operation if the target dynamic object cannot bind.
public FallbackConvert ( DynamicMetaObject target ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic convert operation.
Результат DynamicMetaObject

FallbackConvert() публичный абстрактный Метод

When overridden in the derived class, performs the binding of the dynamic convert operation if the target dynamic object cannot bind.
public abstract FallbackConvert ( DynamicMetaObject target, DynamicMetaObject errorSuggestion ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic convert operation.
errorSuggestion DynamicMetaObject The binding result to use if binding fails, or null.
Результат DynamicMetaObject