예제 #1
0
 public PropertyGroupBlock(IndentedWriter writer)
 {
     _writer = writer;
     _writer.WriteLine("<PropertyGroup>");
     _writer.PushIndent();
 }
예제 #2
0
 public ItemGroupBlock(IndentedWriter writer)
 {
     _writer = writer;
     _writer.WriteLine("<ItemGroup>");
     _writer.PushIndent();
 }
예제 #3
0
 public ProjectBlock(IndentedWriter writer)
 {
     _writer = writer;
     _writer.WriteLine("<Project>");
     _writer.PushIndent();
 }
예제 #4
0
 public BlockWithSemicolon(IndentedWriter writer)
 {
     _writer = writer;
     _writer.OpenBlockCore();
 }
예제 #5
0
 public BlockWithString(IndentedWriter writer, string expression)
 {
     _writer     = writer;
     _expression = expression;
     _writer.OpenBlockCore();
 }
예제 #6
0
 public Block(IndentedWriter writer)
 {
     _writer = writer;
     _writer.OpenBlockCore();
 }
 protected AbstractGenerator(GeneratorDependencies dependencies)
 {
     _writer      = new IndentedWriter(dependencies.Provider.Builder);
     Dependencies = dependencies;
 }