<PackageReference Include="System.Dynamic.Runtime" Version="4.0.11-beta-23409" />

DynamicMetaObject

public class DynamicMetaObject
Represents the dynamic binding and a binding logic of an object participating in the dynamic binding.
public static readonly DynamicMetaObject[] EmptyMetaObjects

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

public Expression Expression { get; }

The expression representing the DynamicMetaObject during the dynamic binding process.

public bool HasValue { get; }

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

public Type LimitType { get; }

Gets the limit type of the DynamicMetaObject.

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

public Type RuntimeType { get; }

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

public object Value { get; }

The runtime value represented by this DynamicMetaObject.

public DynamicMetaObject(Expression expression, BindingRestrictions restrictions)

Initializes a new instance of the DynamicMetaObject class.

public DynamicMetaObject(Expression expression, BindingRestrictions restrictions, object value)

Initializes a new instance of the DynamicMetaObject class.

public static DynamicMetaObject Create(object value, Expression expression)

Creates a meta-object for the specified object.

Performs the binding of the dynamic binary operation.

Performs the binding of the dynamic conversion operation.

Performs the binding of the dynamic create instance operation.

Performs the binding of the dynamic delete index operation.

Performs the binding of the dynamic delete member operation.

Performs the binding of the dynamic get index operation.

Performs the binding of the dynamic get member operation.

Performs the binding of the dynamic invoke operation.

Performs the binding of the dynamic invoke member operation.

Performs the binding of the dynamic set index operation.

Performs the binding of the dynamic set member operation.

Performs the binding of the dynamic unary operation.

public virtual IEnumerable<string> GetDynamicMemberNames()

Returns the enumeration of all dynamic member names.