示例#1
0
 public CodeStream(string language, string name, ICodeFileFactory codeFileFactory, ICodeFileDestination codeFileDestination = null)
 {
     this.Language            = language;
     this.Name                = name;
     this.codeFileFactory     = codeFileFactory;
     this.codeFileDestination = codeFileDestination;
 }
 public virtual ICodeStream CreateCodeStream(string language, string name, ICodeFileDestination codeFileLocationProvider = null)
 {
     return(new CodeStream(language, name, this, codeFileLocationProvider));
 }
 public ICodeStream CreateCodeStream(string language, string name, ICodeFileDestination codeFileLocationProvider = null)
 {
     return(this.HandlerFor(language).CreateCodeStream(language, name, codeFileLocationProvider));
 }