protected override void handle_result(TypeValue new_value)
        {
            DisambiguateLocationActionOnSelectionJSON result = new DisambiguateLocationActionOnSelectionJSON();

            result.setValue(new_value);
            handle_result(result);
        }
Exemple #2
0
    private void  fromJSONActionOnSelection(JSONValue json_value, bool ignore_extras)
    {
        Debug.Assert(json_value != null);
        DisambiguateLocationActionOnSelectionJSON convert_classy = DisambiguateLocationActionOnSelectionJSON.from_json(json_value, ignore_extras, true);

        setActionOnSelection(convert_classy);
    }
Exemple #3
0
 public void setActionOnSelection(DisambiguateLocationActionOnSelectionJSON new_value)
 {
     if (flagHasActionOnSelection)
     {
     }
     flagHasActionOnSelection = true;
     storeActionOnSelection   = new_value;
 }
Exemple #4
0
 public void setActionOnSelection(string chars)
 {
     DisambiguateLocationActionOnSelectionJSON.TypeValueKnownValues known     = DisambiguateLocationActionOnSelectionJSON.stringToValue(chars);
     DisambiguateLocationActionOnSelectionJSON.TypeValue            new_value = new DisambiguateLocationActionOnSelectionJSON.TypeValue();
     if (known == DisambiguateLocationActionOnSelectionJSON.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;
     }
     setActionOnSelection(new_value);
 }
 protected override void handle_result(DisambiguateLocationActionOnSelectionJSON result)
 {
     top.value.Add(result);
 }
        protected override void handle_result(DisambiguateLocationActionOnSelectionJSON result)
        {
//@@@            Debug.Assert(!have_value);
            have_value = true;
            value      = result;
        }
 protected abstract void handle_result(DisambiguateLocationActionOnSelectionJSON new_result);