C# Class Archetype.MetaObjects.PrototypalMetaObject

Inheritance: DelegatingMetaObject
Datei anzeigen Open project: idavis/Archetype

Public Methods

Method Description
PrototypalMetaObject ( Expression expression, object value, DynamicMetaObject baseMetaObject, object prototype ) : System

Initializes a new instance of the PrototypalMetaObject class.

Protected Methods

Method Description
Resolve ( DynamicMetaObject>.Func bindTarget ) : DynamicMetaObject

Implemented by inheritors, this function should determine the receiver for the binding of the dynamic operation and use the bindTarget to perform the binding and return the result of that binding operation.

The bindTarget can be used multiple times to attempt potential binding operations.

Method Details

PrototypalMetaObject() public method

Initializes a new instance of the PrototypalMetaObject class.
public PrototypalMetaObject ( Expression expression, object value, DynamicMetaObject baseMetaObject, object prototype ) : System
expression System.Linq.Expressions.Expression /// The expression representing this during the dynamic binding process. ///
value object /// The runtime value represented by the . ///
baseMetaObject System.Dynamic.DynamicMetaObject /// The representing the result of the binding against the primary delegating object. ///
prototype object /// The prototype object which will be the target of delegation for dynamic binding operations. ///
return System

Resolve() protected method

Implemented by inheritors, this function should determine the receiver for the binding of the dynamic operation and use the bindTarget to perform the binding and return the result of that binding operation.
The bindTarget can be used multiple times to attempt potential binding operations.
protected Resolve ( DynamicMetaObject>.Func bindTarget ) : DynamicMetaObject
bindTarget DynamicMetaObject>.Func /// Performs the binding of the dynamic operation if the target dynamic object cannot bind. /// The target of the dynamic operation.
return System.Dynamic.DynamicMetaObject