C# Class Archetype.MetaObjects.ModuleMetaObject

Inheritance: DelegatingMetaObject
Datei anzeigen Open project: idavis/Archetype

Public Methods

Method Description
ModuleMetaObject ( Expression expression, object value, DynamicMetaObject baseMetaObject, IList modules ) : System

Initializes a new instance of the ModuleMetaObject 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

ModuleMetaObject() public method

Initializes a new instance of the ModuleMetaObject class.
public ModuleMetaObject ( Expression expression, object value, DynamicMetaObject baseMetaObject, IList modules ) : 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. ///
modules IList /// The modules current collection of modules which will be used as potential delegation targets 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