public NameSpaceBlock(CsharpScriptAppender appender,
                       string @namespace)
 {
     this.appender = appender;
     appender.AppendLine($"namespace {@namespace}");
     appender.AppenLeftBracketAndToRight();
 }
示例#2
0
 public IfPreCompileBlock(CsharpScriptAppender appender,
                          List <string> instructions)
 {
     this.appender     = appender;
     this.instructions = instructions;
     AppendIfStart();
 }