public CompilerController( IMemoryCache cache, ICompilerManager manager, IPolishManager polishManager, IExecutionManager executionManager) { _cache = cache; _manager = manager; _polishManager = polishManager; _executionManager = executionManager; }
/// <summary> /// Creates a compilation context. /// </summary> /// <param name="applicationContext">Application context.</param> /// <param name="manager">Manager.</param> /// <param name="config">Configuration.</param> /// <param name="errorSink">Error sink.</param> /// <param name="workingDirectory">Working directory.</param> internal CompilationContext(ApplicationContext /*!*/ applicationContext, ICompilerManager manager, CompilerConfiguration /*!*/ config, ErrorSink /*!*/ errorSink, string /*!*/ workingDirectory) { Debug.Assert(applicationContext != null); Debug.Assert(config != null && workingDirectory != null); this.applicationContext = applicationContext; this.manager = manager; this.config = config; this.errors = errorSink; this.workingDirectory = workingDirectory; }
/// <summary> /// Creates a compilation context. /// </summary> /// <param name="applicationContext">Application context.</param> /// <param name="manager">Manager.</param> /// <param name="config">Configuration.</param> /// <param name="errorSink">Error sink.</param> /// <param name="workingDirectory">Working directory.</param> internal CompilationContext(ApplicationContext/*!*/ applicationContext, ICompilerManager manager, CompilerConfiguration/*!*/ config, ErrorSink/*!*/ errorSink, string/*!*/ workingDirectory) { Debug.Assert(applicationContext != null); Debug.Assert(config != null && workingDirectory != null); this.applicationContext = applicationContext; this.manager = manager; this.config = config; this.errors = errorSink; this.workingDirectory = workingDirectory; }
public DocifyApplication(IIncludesHandlerManager includes, ICompilerManager compiler, IComposerManager composer, IPublisherManager publisher, ILoaderManager loader, ILogger logger) { Includes = includes; Compiler = compiler; Composer = composer; Publisher = publisher; Loader = loader; Logger = logger; }
public WebCompilationContext(ApplicationContext applicationContext, ICompilerManager/*!*/ manager, CompilerConfiguration/*!*/ config, string/*!*/ workingDirectory, DateTime requestTimestamp) : base(applicationContext, manager, config, new WebErrorSink(config.Compiler.DisabledWarnings, config.Compiler.DisabledWarningNumbers), workingDirectory) { this.requestTimestamp = requestTimestamp; }
public BuildCommand(ICompilerManager compilerManager, IConfigDeserializer configDeserializer) { this.compilerManager = compilerManager; this.configDeserializer = configDeserializer; }