Search Results for

    Show / Hide Table of Contents

    Class EntityObject.DynamicEntityObjectMetaObject

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

    Inheritance
    System.Object
    EntityObject.DynamicEntityObjectMetaObject
    Namespace: TimeCockpit.Data
    Assembly: TimeCockpit.Data.dll
    Syntax
    protected class DynamicEntityObjectMetaObject : DynamicMetaObject
    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.

    Declaration
    public DynamicEntityObjectMetaObject(EntityObject v, Expression e)
    Parameters
    Type Name Description
    EntityObject v

    Reference to the dynamic object

    System.Linq.Expressions.Expression e

    Provided by the DLR (Dynamic Language Runtime).

    Methods

    BindGetMember(GetMemberBinder)

    Gets the meta object for a get member operation.

    Declaration
    public override DynamicMetaObject BindGetMember(GetMemberBinder info)
    Parameters
    Type Name Description
    System.Dynamic.GetMemberBinder info

    Information about which member to get.

    Returns
    Type Description
    System.Dynamic.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.

    Declaration
    public override DynamicMetaObject BindSetMember(SetMemberBinder info, DynamicMetaObject value)
    Parameters
    Type Name Description
    System.Dynamic.SetMemberBinder info

    Information about which member to set.

    System.Dynamic.DynamicMetaObject value

    Value to set.

    Returns
    Type Description
    System.Dynamic.DynamicMetaObject

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

    GetDynamicMemberNames()

    Returns the name of all available properties and relations.

    Declaration
    public override IEnumerable<string> GetDynamicMemberNames()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<System.String>
    In This Article
    Back to top Copyright © 2020 software architects gmbh