public AssmanContext BuildContext(ResourceMode resourceMode, bool usePreCompilationReportIfPresent = true) { IResourceFinder fileFinder = ResourceFinderFactory.Null; IPreCompiledReportPersister preCompiledPersister = NullPreCompiledPersister.Instance; if (!String.IsNullOrEmpty(RootFilePath)) { fileFinder = ResourceFinderFactory.GetInstance(RootFilePath); if (usePreCompilationReportIfPresent) { preCompiledPersister = CompiledFilePersister.ForWebDirectory(RootFilePath); } } return(BuildContext(resourceMode, fileFinder, preCompiledPersister)); }
public void SavePreConsolidationReport(PreCompilationReport report) { var preConsolidationPersister = CompiledFilePersister.ForWebDirectory(RootFilePath); preConsolidationPersister.SavePreConsolidationInfo(report); }