Ejemplo n.º 1
0
    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)
        {
        }
    }
Ejemplo n.º 2
0
 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);
 }
Ejemplo n.º 4
0
 protected override void handle_result(InformationNuggetJSON new_result)
 {
     handle_result((TipCalculatorCancelInformationNuggetJSON )new_result);
 }
Ejemplo n.º 5
0
 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);
 }
Ejemplo n.º 7
0
 protected override void handle_result(InformationNuggetJSON new_result)
 {
     handle_result((ClientMatchInformationNuggetJSON )new_result);
 }
Ejemplo n.º 8
0
 protected override void handle_result(InformationNuggetJSON new_result)
 {
     handle_result((UserMemoryNuggetJSON )new_result);
 }
Ejemplo n.º 9
0
 protected override void handle_result(InformationNuggetJSON new_result)
 {
     handle_result((PropertyValueInformationNuggetJSON )new_result);
 }
Ejemplo n.º 10
0
 protected override void handle_result(InformationNuggetJSON new_result)
 {
     handle_result((WeatherInformationNuggetJSON )new_result);
 }
Ejemplo n.º 11
0
 protected override void handle_result(InformationNuggetJSON new_result)
 {
     handle_result((StockMarketInformationNuggetJSON )new_result);
 }
Ejemplo n.º 12
0
 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);
 }
Ejemplo n.º 14
0
 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);
 }
Ejemplo n.º 16
0
 protected override void handle_result(InformationNuggetJSON new_result)
 {
     handle_result((DisplayMapInformationNuggetJSON )new_result);
 }
Ejemplo n.º 17
0
 protected override void handle_result(InformationNuggetJSON new_result)
 {
     handle_result((WhatsInDrinkQuestionJSON )new_result);
 }
Ejemplo n.º 18
0
 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);
 }
Ejemplo n.º 21
0
 protected override void handle_result(InformationNuggetJSON new_result)
 {
     handle_result((ChineseZodiacInfoNuggetJSON )new_result);
 }
Ejemplo n.º 22
0
 protected override void handle_result(InformationNuggetJSON new_result)
   {
     handle_result((SportsOlympicsInformationNuggetJSON )new_result);
   }
Ejemplo n.º 23
0
 protected override void handle_result(InformationNuggetJSON new_result)
 {
     handle_result((DateAndTimeInformationNuggetJSON )new_result);
 }
Ejemplo n.º 24
0
 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);
 }
Ejemplo n.º 26
0
 protected override void handle_result(InformationNuggetJSON new_result)
 {
     handle_result((DictionarySearchInformationNuggetJSON )new_result);
 }