private void SaveOutputs(ICodeFileStorageHandler handler, IEnumerable <CodeFile> outputs) { foreach (var file in outputs) { handler.Add(file); } }
public CodeFileEnvironmentHandler(ICodeFileStorageHandler codeFileStorageHandler, ICodeFileCompilationHandler codeFileCompilationHandler) { this.ShadowFilter = new ShadowFilter(); this.storageHandler = codeFileStorageHandler; this.compilationHandler = codeFileCompilationHandler; this.compilationHandler.ShadowFilter = this.ShadowFilter; }
public CodeFileEnvironmentHandlerTs( IFileSystem fileSystem, ICodeFileStorageHandler codeFileStorageHandler, ICodeFileCompilationHandler codeFileCompilationHandler, IPipelineExecutionInfo pipelineExecutionInfo, ILogger logger) : base(codeFileStorageHandler, codeFileCompilationHandler) { this.fileSystem = fileSystem; this.tsHost = new TsHost(30050, 30100, 5000, new TsHostLoggerAdapter(logger)); }
public CodeGenerationPipelineLauncher( IWorkspaceManager initialWorkspaceManager, IWorkspaceManagerBase outputWorkspaceManager, IFileSystem fileSystem, ITypeLoader additionalTypeLoader = null, ICodeFileStorageHandler outputStorageHandler = null, ILogger logger = null) { this.initialWorkspaceManager = initialWorkspaceManager; this.outputWorkspaceManager = outputWorkspaceManager; this.fileSystem = fileSystem; this.additionalTypeLoader = additionalTypeLoader; this.outputStorageHandler = outputStorageHandler ?? outputWorkspaceManager; this.logger = logger ?? new TextLogger(this.fileSystem); }
public CodeFileEnvironmentHandlerGlsl( ICodeFileStorageHandler codeFileStorageHandler, ICodeFileCompilationHandler codeFileCompilationHandler) : base(codeFileStorageHandler, codeFileCompilationHandler) { }