示例#1
0
 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());
 }
示例#2
0
 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());
 }