Exemple #1
0
 protected GeneratorBase(StringWriter output, TypeFormatter formatter, IntendProvider intendProvider)
 {
     Formatter      = formatter;
     IntendProvider = intendProvider;
     Output         = output;
     Intend         = "    ";
 }
Exemple #2
0
 public ClassGenerator(
     ClassDescriptor descriptor,
     StringWriter output,
     TypeFormatter formatter,
     IntendProvider intendProvider)
     : base(output, formatter, intendProvider)
 {
     Descriptor   = descriptor;
     Modifier     = "public";
     AddNamespace = true;
 }
 public Disposable(IntendProvider provider, int oldIntend)
 {
     _provider  = provider;
     _oldIntend = oldIntend;
 }
Exemple #4
0
 public DocumentGenerator(StringWriter output, TypeFormatter formatter, IntendProvider intendProvider)
 {
     Output         = output;
     Formatter      = formatter;
     IntendProvider = intendProvider;
 }