예제 #1
0
 public ProcedureFormatter(Procedure procedure, BlockDecorator decorator, CodeFormatter formatter)
 {
     this.proc = procedure;
     this.decorator = decorator;
     this.formatter = formatter;
 }
예제 #2
0
 public ProcedureFormatter(Procedure procedure, CodeFormatter formatter)
 {
     this.proc = procedure;
     this.decorator = new BlockDecorator();
     this.formatter = formatter;
 }