コード例 #1
0
        protected override void handle_result(TypeValue new_value)
        {
            FlightSortFieldJSON result = new FlightSortFieldJSON();

            result.setValue(new_value);
            handle_result(result);
        }
コード例 #2
0
    private void  fromJSONSortByField(JSONValue json_value, bool ignore_extras)
    {
        Debug.Assert(json_value != null);
        FlightSortFieldJSON convert_classy = FlightSortFieldJSON.from_json(json_value, ignore_extras, true);

        setSortByField(convert_classy);
    }
コード例 #3
0
 public void setSortByField(FlightSortFieldJSON new_value)
 {
     if (flagHasSortByField)
     {
     }
     flagHasSortByField = true;
     storeSortByField   = new_value;
 }
コード例 #4
0
 public void setSortByField(string chars)
 {
     FlightSortFieldJSON.TypeValueKnownValues known     = FlightSortFieldJSON.stringToValue(chars);
     FlightSortFieldJSON.TypeValue            new_value = new FlightSortFieldJSON.TypeValue();
     if (known == FlightSortFieldJSON.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;
     }
     setSortByField(new_value);
 }
コード例 #5
0
 protected override void handle_result(FlightSortFieldJSON result)
 {
     top.value.Add(result);
 }
コード例 #6
0
        protected override void handle_result(FlightSortFieldJSON result)
        {
//@@@            Debug.Assert(!have_value);
            have_value = true;
            value      = result;
        }
コード例 #7
0
 protected abstract void handle_result(FlightSortFieldJSON new_result);