Example #1
0
 protected GeneratorBase(StringWriter output, TypeFormatter formatter, IntendProvider intendProvider)
 {
     Formatter      = formatter;
     IntendProvider = intendProvider;
     Output         = output;
     Intend         = "    ";
 }
Example #2
0
 public ClassGenerator(
     ClassDescriptor descriptor,
     StringWriter output,
     TypeFormatter formatter,
     IntendProvider intendProvider)
     : base(output, formatter, intendProvider)
 {
     Descriptor   = descriptor;
     Modifier     = "public";
     AddNamespace = true;
 }
Example #3
0
 public DocumentGenerator(StringWriter output, TypeFormatter formatter, IntendProvider intendProvider)
 {
     Output         = output;
     Formatter      = formatter;
     IntendProvider = intendProvider;
 }