public override bool TryGetMember(GetMemberBinder binder, out object result) { var element = name + "." + binder.Name; var temp = parentParser.SafeGet(element); if (temp != null) { result = new DynamicReturnValue(temp); } else { result = new MessageParserSubElement(parentParser, element); } return true; }
public override bool TryGetMember(GetMemberBinder binder, out object result) { var element = name + "." + binder.Name; var temp = parentParser.SafeGet(element); if (temp != null) { result = new DynamicReturnValue(temp); } else { result = new MessageParserSubElement(parentParser, element); } return(true); }