Editare

Partajați prin


DynamicMetaObject Class

Definition

Represents the dynamic binding and a binding logic of an object participating in the dynamic binding.

public ref class DynamicMetaObject
public class DynamicMetaObject
type DynamicMetaObject = class
Public Class DynamicMetaObject
Inheritance
DynamicMetaObject

Remarks

For more information, download the Implementing Dynamic Interfaces article available in PDF format.

Constructors

DynamicMetaObject(Expression, BindingRestrictions, Object)

Initializes a new instance of the DynamicMetaObject class.

DynamicMetaObject(Expression, BindingRestrictions)

Initializes a new instance of the DynamicMetaObject class.

Fields

EmptyMetaObjects

Represents an empty array of type DynamicMetaObject. This field is read only.

Properties

Expression

The expression representing the DynamicMetaObject during the dynamic binding process.

HasValue

Gets a value indicating whether the DynamicMetaObject has the runtime value.

LimitType

Gets the limit type of the DynamicMetaObject.

Restrictions

The set of binding restrictions under which the binding is valid.

RuntimeType

Gets the Type of the runtime value or null if the DynamicMetaObject has no value associated with it.

Value

The runtime value represented by this DynamicMetaObject.

Methods

BindBinaryOperation(BinaryOperationBinder, DynamicMetaObject)

Performs the binding of the dynamic binary operation.

BindConvert(ConvertBinder)

Performs the binding of the dynamic conversion operation.

BindCreateInstance(CreateInstanceBinder, DynamicMetaObject[])

Performs the binding of the dynamic create instance operation.

BindDeleteIndex(DeleteIndexBinder, DynamicMetaObject[])

Performs the binding of the dynamic delete index operation.

BindDeleteMember(DeleteMemberBinder)

Performs the binding of the dynamic delete member operation.

BindGetIndex(GetIndexBinder, DynamicMetaObject[])

Performs the binding of the dynamic get index operation.

BindGetMember(GetMemberBinder)

Performs the binding of the dynamic get member operation.

BindInvoke(InvokeBinder, DynamicMetaObject[])

Performs the binding of the dynamic invoke operation.

BindInvokeMember(InvokeMemberBinder, DynamicMetaObject[])

Performs the binding of the dynamic invoke member operation.

BindSetIndex(SetIndexBinder, DynamicMetaObject[], DynamicMetaObject)

Performs the binding of the dynamic set index operation.

BindSetMember(SetMemberBinder, DynamicMetaObject)

Performs the binding of the dynamic set member operation.

BindUnaryOperation(UnaryOperationBinder)

Performs the binding of the dynamic unary operation.

Create(Object, Expression)

Creates a meta-object for the specified object.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetDynamicMemberNames()

Returns the enumeration of all dynamic member names.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to