private void fromJSONInformationNuggets(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); JSONArrayValue json_array1 = json_value.array_value(); if (json_array1 == null) { throw new Exception("The value for field InformationNuggets of InformationCommandJSON is not an array."); } int count1 = json_array1.componentCount(); if (count1 < 1) { throw new Exception("The value for field InformationNuggets of InformationCommandJSON has too few elements."); } List <InformationNuggetJSON> vector_InformationNuggets1 = new List <InformationNuggetJSON>(count1); for (int num1 = 0; num1 < count1; ++num1) { InformationNuggetJSON convert_classy = InformationNuggetJSON.from_json(json_array1.component(num1), ignore_extras, true); vector_InformationNuggets1.Add(convert_classy); } Debug.Assert(vector_InformationNuggets1.Count >= 1); initInformationNuggets(); for (int num1 = 0; num1 < vector_InformationNuggets1.Count; ++num1) { appendInformationNuggets(vector_InformationNuggets1[num1]); } for (int num1 = 0; num1 < vector_InformationNuggets1.Count; ++num1) { } }
public void appendInformationNuggets(InformationNuggetJSON to_append) { if (!flagHasInformationNuggets) { flagHasInformationNuggets = true; storeInformationNuggets.Clear(); } Debug.Assert(flagHasInformationNuggets); storeInformationNuggets.Add(to_append); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((FlightBookingInformationNuggetJSON )new_result); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((TipCalculatorCancelInformationNuggetJSON )new_result); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((GeonameFactsInformationNuggetJSON )new_result); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((CurrencyConverterInformationNuggetJSON )new_result); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((ClientMatchInformationNuggetJSON )new_result); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((UserMemoryNuggetJSON )new_result); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((PropertyValueInformationNuggetJSON )new_result); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((WeatherInformationNuggetJSON )new_result); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((StockMarketInformationNuggetJSON )new_result); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((RockPaperScissorsInformationNuggetJSON )new_result); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((AreaCodeInfoNuggetJSON )new_result); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((RandomNumberGeneratorInformationNuggetJSON )new_result); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((BlackjackInformationNuggetJSON )new_result); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((DisplayMapInformationNuggetJSON )new_result); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((WhatsInDrinkQuestionJSON )new_result); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((GeneralizedThingInformationNuggetJSON )new_result); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((GamesMenuInformationNuggetJSON )new_result); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((BattleshipQuitInformationNuggetJSON )new_result); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((ChineseZodiacInfoNuggetJSON )new_result); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((SportsOlympicsInformationNuggetJSON )new_result); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((DateAndTimeInformationNuggetJSON )new_result); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((NumberGuessInformationNuggetJSON )new_result); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((HangmanInformationNuggetJSON )new_result); }
protected override void handle_result(InformationNuggetJSON new_result) { handle_result((DictionarySearchInformationNuggetJSON )new_result); }