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