1 namespace Castle
.NewGenerator
.Core
6 public class GeneratorContext
8 private readonly DirectoryInfo templateFolder
;
9 private readonly DirectoryInfo workingFolder
;
11 public GeneratorContext(string workingFolder
, string templateFolder
)
13 this.templateFolder
= new DirectoryInfo(templateFolder
);
14 this.workingFolder
= new DirectoryInfo(workingFolder
);
17 public DirectoryInfo WorkingFolder
19 get { return workingFolder; }
22 public DirectoryInfo TemplateFolder
24 get { return templateFolder; }
27 public void Info(string message
)
29 Console
.WriteLine(message
);