private void CreateTocFile() { ExecuteOnStepMessage(StepInput.ChmStrings.CreateToc); var tocHtmlFile = Path.Combine(StepInput.TmpPath, StepInput.SDProject.ProjectName.Replace(" ", "") + ".hhc"); var template = new HhcTemplate(); File.WriteAllText(tocHtmlFile, template.TransformText()); }
private void CreateTocFile() { var tocHtmlFile = Path.Combine(_tmpFilepath, _repository.ProjectInfo.ProjectName.Replace(" ", "") + ".hhc"); var template = new HhcTemplate { SDRepository = _repository, CurrentLanguage = _currentLanguage, Strings = _strings }; File.WriteAllText(tocHtmlFile, template.TransformText()); }