Table of Contents

Class EntityObject.DynamicEntityObjectMetaObject

Namespace
TimeCockpit.Data
Assembly
TimeCockpit.Data.dll

Complements System.Dynamic.DynamicMetaObject and serves as the common representation of dynamic metadata, allowing operations to be dispatched on dynamic objects.

protected class DynamicEntityObjectMetaObject : DynamicMetaObject
Inheritance
Object
EntityObject.DynamicEntityObjectMetaObject

Remarks

Supports the library for integrating with the Dynamic Language Runtime. This class must not be used outside of this library!

Caution! Will be replaced as soon as implementation of C# 4.0 becomes available.

Constructors

DynamicEntityObjectMetaObject(EntityObject, Expression)

Initializes a new instance of the DynamicEntityObjectMetaObject class.

public DynamicEntityObjectMetaObject(EntityObject v, Expression e)

Parameters

v EntityObject

Reference to the dynamic object

e Expression

Provided by the DLR (Dynamic Language Runtime).

Methods

BindGetMember(GetMemberBinder)

Gets the meta object for a get member operation.

public override DynamicMetaObject BindGetMember(GetMemberBinder info)

Parameters

info GetMemberBinder

Information about which member to get.

Returns

DynamicMetaObject

Reference to the meta object that can be used to dispatch operations.

BindSetMember(SetMemberBinder, DynamicMetaObject)

Gets the meta object for a set member operation.

public override DynamicMetaObject BindSetMember(SetMemberBinder info, DynamicMetaObject value)

Parameters

info SetMemberBinder

Information about which member to set.

value DynamicMetaObject

Value to set.

Returns

DynamicMetaObject

Reference to the meta object that can be used to dispatch operations.

GetDynamicMemberNames()

Returns the name of all available properties and relations.

public override IEnumerable<string> GetDynamicMemberNames()

Returns

IEnumerable<String>