コード例 #1
0
 public Generator(bool ignore_extras) : base(ignore_extras)
 {
     fieldGeneratorBase     = new GeneralizedThingJSON.HoldingGenerator("field \"Base\" of the AmountProperty class", ignore_extras);
     fieldGeneratorProperty = new PropertyJSON.HoldingGenerator("field \"Property\" of the AmountProperty class", ignore_extras);
     fieldGeneratorAmount   = new AmountJSON.HoldingGenerator("field \"Amount\" of the AmountProperty class", ignore_extras);
     unknownFieldGenerator  = new UnknownFieldGenerator(ignore_extras);
     set_what("the AmountProperty class");
 }
コード例 #2
0
 public Generator() : base(false)
 {
     fieldGeneratorBase     = new GeneralizedThingJSON.HoldingGenerator("field \"Base\" of the AmountProperty class", false);
     fieldGeneratorProperty = new PropertyJSON.HoldingGenerator("field \"Property\" of the AmountProperty class", false);
     fieldGeneratorAmount   = new AmountJSON.HoldingGenerator("field \"Amount\" of the AmountProperty class", false);
     unknownFieldGenerator  = new UnknownFieldGenerator(false);
     set_what("the AmountProperty class");
 }
コード例 #3
0
 public Generator() : base(false)
 {
     fieldGeneratorWhatInformation  = new WhatInformationJSON.HoldingGenerator("field \"WhatInformation\" of the GeneralizedThingInformationNugget class", false);
     fieldGeneratorGeneralizedThing = new GeneralizedThingJSON.HoldingGenerator("field \"GeneralizedThing\" of the GeneralizedThingInformationNugget class", false);
     fieldGeneratorDerivation       = new DerivationJSON.HoldingGenerator("field \"Derivation\" of the GeneralizedThingInformationNugget class", false);
     unknownFieldGenerator          = new UnknownFieldGenerator(false);
     keyGenerator = new JSONHoldingStringGenerator("key field \"GeneralizedThingNuggetKind\" of the GeneralizedThingInformationNugget class");
     set_what("the GeneralizedThingInformationNugget class");
 }
コード例 #4
0
 public Generator()
 {
     fieldGeneratorGeneralizedThing = new GeneralizedThingJSON.HoldingGenerator("field \"GeneralizedThing\" of the DerivedGeneralizedThing class", false);
     fieldGeneratorDerivation       = new DerivationJSON.HoldingGenerator("field \"Derivation\" of the DerivedGeneralizedThing class", false);
     unknownFieldGenerator          = new UnknownFieldGenerator(false);
     set_what("the DerivedGeneralizedThing class");
     allow_incomplete = false;
     allow_unpolished = false;
 }
コード例 #5
0
 public Generator() : base(false)
 {
     fieldGeneratorBase              = new GeneralizedThingJSON.HoldingGenerator("field \"Base\" of the PropertyValueInformationNugget class", false);
     fieldGeneratorProperty          = new PropertyJSON.HoldingGenerator("field \"Property\" of the PropertyValueInformationNugget class", false);
     fieldGeneratorValueSpokenLabel  = new JSONHoldingStringGenerator("field \"ValueSpokenLabel\" of the PropertyValueInformationNugget class");
     fieldGeneratorValueWrittenLabel = new JSONHoldingStringGenerator("field \"ValueWrittenLabel\" of the PropertyValueInformationNugget class");
     unknownFieldGenerator           = new UnknownFieldGenerator(false);
     keyGenerator = new JSONHoldingStringGenerator("key field \"PropertyValueKind\" of the PropertyValueInformationNugget class");
     set_what("the PropertyValueInformationNugget class");
 }