示例#1
0
        public ContentCompiler(ICompilerHost host, ICompiledCache cache, IEnumerable<ISimpleFileCompiler> compilers)
        {
            _host = host;
            _cache = cache;
            _compilers = compilers;

            Init();
        }
 void SolutionOpened()
 {
     Logger.PublicEntry(() => {
         try {
             this._compilerHost = GetVersionedServicesFactory().CreateCompilerHost();
         } catch {
             this._compilerHost = null;
         }
         _solutionLoaded = true;
         //FilesNeedingNewSemanticInfo.Clear();
         //FilesNeedingNewSyntacticInfo.Clear();
     }, "SolutionOpened");
 }
示例#3
0
        public ContentCompiler(ICompilerHost host, ICompiledCache cache)
        {
            _host = host;
            _cache = cache;

            _compilers = new ISimpleFileCompiler[] {
                new FileConcatenationCompiler(this),
                new MinifyingFileCompiler(),
                new CoffeeScriptFileCompiler(),
                new SassFileCompiler(),
                new JavascriptPassthroughCompiler(),
            };

            Init();
        }
 public void Init(ICompilerHost host)
 {
     _host = host;
 }
 public void Init(ICompilerHost host)
 {
     _engine = _engine ?? new CoffeeScriptCompiler();
 }
 public ConcatenationFileHandler(ICompilerHost host)
 {
     _host = host;
 }
 public void Init(ICompilerHost host)
 {
 }