GetBoundValue() protected method

Helper for getting values that have been bound. Called from BoundMemberTracker. Custom member trackers can override this to provide their own behaviors when bound to an instance.
protected GetBoundValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, ActionBinder binder, Type type, DynamicMetaObject instance ) : DynamicMetaObject
resolverFactory Microsoft.Scripting.Actions.Calls.OverloadResolverFactory
binder ActionBinder
type System.Type
instance System.Dynamic.DynamicMetaObject
return System.Dynamic.DynamicMetaObject
コード例 #1
0
 public override Expression GetValue(ActionBinder binder, Type type)
 {
     return(_tracker.GetBoundValue(binder, type, _instance));
 }
コード例 #2
0
 public override DynamicMetaObject GetValue(OverloadResolverFactory resolverFactory, ActionBinder binder, Type type)
 {
     return(_tracker.GetBoundValue(resolverFactory, binder, type, _instance));
 }