Ejemplo n.º 1
0
 public Generator(bool ignore_extras) : base(ignore_extras)
 {
     fieldGeneratorIngredients   = new DrinkIngredientJSON.HoldingArrayGenerator("field \"Ingredients\" of the WhatDrinkCanMakeQuestion class", ignore_extras);
     fieldGeneratorCanMake       = new DrinkRecipeJSON.HoldingArrayGenerator("field \"CanMake\" of the WhatDrinkCanMakeQuestion class", ignore_extras);
     fieldGeneratorCanAlmostMake = new DrinkRecipeJSON.HoldingArrayGenerator("field \"CanAlmostMake\" of the WhatDrinkCanMakeQuestion class", ignore_extras);
     unknownFieldGenerator       = new UnknownFieldGenerator(ignore_extras);
     set_what("the WhatDrinkCanMakeQuestion class");
 }
Ejemplo n.º 2
0
 public Generator()
 {
     fieldGeneratorName        = new JSONHoldingStringGenerator("field \"Name\" of the DrinkRecipe class");
     fieldGeneratorGlass       = new JSONHoldingStringGenerator("field \"Glass\" of the DrinkRecipe class");
     fieldGeneratorImage       = new JSONHoldingStringGenerator("field \"Image\" of the DrinkRecipe class");
     fieldGeneratorTags        = new FieldHoldingArrayGeneratorTags("field \"Tags\" of the DrinkRecipe class");
     fieldGeneratorIngredients = new DrinkIngredientJSON.HoldingArrayGenerator("field \"Ingredients\" of the DrinkRecipe class", false);
     unknownFieldGenerator     = new UnknownFieldGenerator(false);
     set_what("the DrinkRecipe class");
     allow_incomplete = false;
     allow_unpolished = false;
 }