コード例 #1
0
 public HyperappAdapter(ImperativeCodeModel codeModel, IComponentAdapterFactory componentAdapterFactory, ICodeGeneratorOutput output)
 {
     _codeModel = codeModel;
     _componentAdapterFactory = componentAdapterFactory;
     _output     = output;
     _codeWriter = new JavaScriptCodeWriter(output);
 }
コード例 #2
0
 public WebBrowserAdapter(ICodeGeneratorOutput output)
 {
     _output = output;
 }
コード例 #3
0
 public JavaScriptCodeWriter(ICodeGeneratorOutput output)
 {
     _output = output;
 }
コード例 #4
0
 public AspNetAdapter(ImperativeCodeModel codeModel, ICodeGeneratorOutput output)
 {
     _codeModel = codeModel;
     _output    = output;
 }
コード例 #5
0
 public CodeGenerator(SoodaProject Project, ICodeGeneratorOutput Output)
 {
     this.Project = Project;
     this.Output = Output;
 }
コード例 #6
0
 public static void AddSourceFile(this ICodeGeneratorOutput output, IEnumerable <string> folderPath, string fileName, string contents)
 {
     output.AddSourceFile(new FilePath(folderPath, fileName), contents);
 }
コード例 #7
0
 public RoslynCodeModelWriter(ImperativeCodeModel codeModel, ICodeGeneratorOutput output)
 {
     _codeModel = codeModel;
     _output    = output;
 }