Exemplo n.º 1
0
 public Generator() : base(false)
 {
     fieldGeneratorNutritionCommandKind = new FieldHoldingGeneratorNutritionCommandKind("field \"NutritionCommandKind\" of the NutritionInformationNugget class");
     fieldGeneratorNutrients            = new NutrientJSON.HoldingArrayGenerator("field \"Nutrients\" of the NutritionInformationNugget class", false);
     fieldGeneratorFoodBlocks           = new FieldHoldingArrayGeneratorFoodBlocks("field \"FoodBlocks\" of the NutritionInformationNugget class", false);
     unknownFieldGenerator = new UnknownFieldGenerator(false);
     set_what("the NutritionInformationNugget class");
 }
Exemplo n.º 2
0
 public Generator()
 {
     fieldGeneratorID                = new FieldHoldingGeneratorID("field \"ID\" of the Food class");
     fieldGeneratorQuantity          = new JSONHoldingNumberTextGenerator("field \"Quantity\" of the Food class");
     fieldGeneratorNDB_No            = new JSONHoldingStringGenerator("field \"NDB_No\" of the Food class");
     fieldGeneratorSizeIndex         = new FieldHoldingGeneratorSizeIndex("field \"SizeIndex\" of the Food class");
     fieldGeneratorNameIncludesUnits = new JSONHoldingBooleanGenerator("field \"NameIncludesUnits\" of the Food class");
     fieldGeneratorExclude           = new JSONHoldingBooleanGenerator("field \"Exclude\" of the Food class");
     fieldGeneratorSpokenNoSize      = new JSONHoldingStringGenerator("field \"SpokenNoSize\" of the Food class");
     fieldGeneratorWrittenNoSize     = new JSONHoldingStringGenerator("field \"WrittenNoSize\" of the Food class");
     fieldGeneratorWikiUrl           = new JSONHoldingStringGenerator("field \"WikiUrl\" of the Food class");
     fieldGeneratorImageUrl          = new JSONHoldingStringGenerator("field \"ImageUrl\" of the Food class");
     fieldGeneratorAllSizes          = new FoodSizeJSON.HoldingArrayGenerator("field \"AllSizes\" of the Food class", false);
     fieldGeneratorNutrients         = new NutrientJSON.HoldingArrayGenerator("field \"Nutrients\" of the Food class", false);
     fieldGeneratorNutrientNameToID  = new JSONHoldingObjectValueGenerator("field \"NutrientNameToID\" of the Food class");
     set_what("the Food class");
     allow_incomplete = false;
     allow_unpolished = false;
 }