private GetMemberValue2 ( Object obj, String name ) : Object | ||
obj | Object | |
name | String | |
Результат | Object |
internal override void SetMemberValue(String name, Object value) { if (LateBinding.GetMemberValue2(this.contained_object, name) is Missing) { ((ScriptObject)this.parent).SetMemberValue(name, value); } else { LateBinding.SetMemberValue(this.contained_object, name, value); } }
internal override void SetMemberValue(string name, object value) { if (LateBinding.GetMemberValue2(this.contained_object, name) is Microsoft.JScript.Missing) { base.parent.SetMemberValue(name, value); } else { LateBinding.SetMemberValue(this.contained_object, name, value); } }
public Object GetMemberValue(String name, int lexlevel) { if (lexlevel <= 0) { return(Missing.Value); } Object result = LateBinding.GetMemberValue2(this.contained_object, name); if (result != Missing.Value) { return(result); } return(((IActivationObject)this.parent).GetMemberValue(name, lexlevel - 1)); }
internal override Object GetMemberValue(String name) { Object result = LateBinding.GetMemberValue2(this.contained_object, name); if (!(result is Missing)) { return(result); } if (this.parent != null) { return(this.parent.GetMemberValue(name)); } return(Missing.Value); }
public object GetMemberValue(string name, int lexlevel) { if (lexlevel <= 0) { return(Microsoft.JScript.Missing.Value); } object obj2 = LateBinding.GetMemberValue2(this.contained_object, name); if (obj2 != Microsoft.JScript.Missing.Value) { return(obj2); } return(((IActivationObject)base.parent).GetMemberValue(name, lexlevel - 1)); }
internal override object GetMemberValue(string name) { object obj2 = LateBinding.GetMemberValue2(this.contained_object, name); if (!(obj2 is Microsoft.JScript.Missing)) { return(obj2); } if (base.parent != null) { return(base.parent.GetMemberValue(name)); } return(Microsoft.JScript.Missing.Value); }