Method | Description | |
---|---|---|
BindToInstance ( |
Binds the member tracker to the specified instance rturning a new member tracker if binding is possible. If binding is not possible the existing member tracker will be returned. For example binding to a static field results in returning the original MemberTracker. Binding to an instance field results in a new BoundMemberTracker which will get GetBoundValue/SetBoundValue to pass the instance through.
|
|
FromMemberInfo ( |
||
FromMemberInfo ( |
||
GetBoundError ( |
Returns the error associated with accessing this member via a bound instance. A null return value indicates that the default error message should be provided by the caller.
|
|
GetError ( |
Returns the error associated with getting the value. A null return value indicates that the default error message should be provided by the caller.
|
|
GetValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
Gets the expression that creates the value. Returns null if it's an error to get the value. The caller can then call GetErrorForGet to get the correct error Expression (or null if they should provide a default).
|
|
SetValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
Gets an expression that assigns a value to the left hand side. Returns null if it's an error to assign to. The caller can then call GetErrorForSet to get the correct error Expression (or null if a default error should be provided).
|
|
SetValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
Gets an expression that assigns a value to the left hand side. Returns null if it's an error to assign to. The caller can then call GetErrorForSet to get the correct error Expression (or null if a default error should be provided).
|
Method | Description | |
---|---|---|
GetBoundValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
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.
|
|
SetBoundValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
Helper for setting values that have been bound. Called from BoundMemberTracker. Custom member trackers can override this to provide their own behaviors when bound to an instance.
|
|
SetBoundValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
Helper for setting values that have been bound. Called from BoundMemberTracker. Custom member trackers can override this to provide their own behaviors when bound to an instance.
|
Method | Description | |
---|---|---|
Call ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
||
MemberTracker ( ) : System |
public BindToInstance ( |
||
instance | ||
return |
public static FromMemberInfo ( |
||
member | ||
return |
public static FromMemberInfo ( |
||
member | ||
extending | ||
return |
public GetBoundError ( |
||
binder | ||
instance | ||
return |
protected GetBoundValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
||
resolverFactory | Microsoft.Scripting.Actions.Calls.OverloadResolverFactory | |
binder | ||
type | ||
instance | ||
return |
public GetError ( |
||
binder | ||
return |
public GetValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
||
resolverFactory | Microsoft.Scripting.Actions.Calls.OverloadResolverFactory | |
binder | ||
type | ||
return |
protected SetBoundValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
||
resolverFactory | Microsoft.Scripting.Actions.Calls.OverloadResolverFactory | |
binder | ||
type | ||
value | ||
instance | ||
return |
protected SetBoundValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
||
resolverFactory | Microsoft.Scripting.Actions.Calls.OverloadResolverFactory | |
binder | ||
type | ||
value | ||
instance | ||
errorSuggestion | ||
return |
public SetValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
||
resolverFactory | Microsoft.Scripting.Actions.Calls.OverloadResolverFactory | |
binder | ||
type | ||
value | ||
return |
public SetValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
||
resolverFactory | Microsoft.Scripting.Actions.Calls.OverloadResolverFactory | |
binder | ||
type | ||
value | ||
errorSuggestion | ||
return |