protected override void handle_result(TypeValue new_value) { StockAttributeJSON result = new StockAttributeJSON(); result.setValue(new_value); handle_result(result); }
private void fromJSONAttributeType(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); StockAttributeJSON convert_classy = StockAttributeJSON.from_json(json_value, ignore_extras, true); setAttributeType(convert_classy); }
public void setAttributeType(StockAttributeJSON new_value) { if (flagHasAttributeType) { } flagHasAttributeType = true; storeAttributeType = new_value; }
public void setAttributeType(string chars) { StockAttributeJSON.TypeValueKnownValues known = StockAttributeJSON.stringToValue(chars); StockAttributeJSON.TypeValue new_value = new StockAttributeJSON.TypeValue(); if (known == StockAttributeJSON.TypeValueKnownValues.Value__none) { new_value.in_known_list = false; new_value.string_value = chars; } else { new_value.in_known_list = true; new_value.list_value = known; } setAttributeType(new_value); }
protected override void handle_result(StockAttributeJSON result) { top.value.Add(result); }
protected override void handle_result(StockAttributeJSON result) { //@@@ Debug.Assert(!have_value); have_value = true; value = result; }
protected abstract void handle_result(StockAttributeJSON new_result);