Метод | Описание | |
---|---|---|
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).
|
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
Call ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
||
MemberTracker ( ) : System |
public BindToInstance ( |
||
instance | ||
Результат |
public static FromMemberInfo ( |
||
member | ||
Результат |
public static FromMemberInfo ( |
||
member | ||
extending | ||
Результат |
public GetBoundError ( |
||
binder | ||
instance | ||
Результат |
protected GetBoundValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
||
resolverFactory | Microsoft.Scripting.Actions.Calls.OverloadResolverFactory | |
binder | ||
type | ||
instance | ||
Результат |
public GetError ( |
||
binder | ||
Результат |
public GetValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
||
resolverFactory | Microsoft.Scripting.Actions.Calls.OverloadResolverFactory | |
binder | ||
type | ||
Результат |
protected SetBoundValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
||
resolverFactory | Microsoft.Scripting.Actions.Calls.OverloadResolverFactory | |
binder | ||
type | ||
value | ||
instance | ||
Результат |
protected SetBoundValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
||
resolverFactory | Microsoft.Scripting.Actions.Calls.OverloadResolverFactory | |
binder | ||
type | ||
value | ||
instance | ||
errorSuggestion | ||
Результат |
public SetValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
||
resolverFactory | Microsoft.Scripting.Actions.Calls.OverloadResolverFactory | |
binder | ||
type | ||
value | ||
Результат |
public SetValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
||
resolverFactory | Microsoft.Scripting.Actions.Calls.OverloadResolverFactory | |
binder | ||
type | ||
value | ||
errorSuggestion | ||
Результат |