public HTMLDocumenter(AssembliesInfo assembliesInfo, string chmFileNameWithoutExtension) : base(assembliesInfo) { this.chmFileNameWithoutExtension = chmFileNameWithoutExtension; this.seeRegexEvaluator = new MatchEvaluator(OnSeePatternMatch); }
public HTMLDocumenter(AssembliesInfo assembliesInfo) : this(assembliesInfo, null) { }
public MyAssemblyInfo(string name, AssembliesInfo assembliesInfo) { this.name = name; this.assembliesInfo = assembliesInfo; }
private static void ProcessFilesNames(List <string> filesNames, IEnumerable <string> excludedNamespaces) { assembliesInfo = new AssembliesInfo(projectName == null ? "Documentation Project" : projectName); // proces assemblies (*.exe || *.dll) foreach (string fullFileName in filesNames) { string fileName = Path.GetFileName(fullFileName); string ext = Path.GetExtension(fileName).ToLower(); if ((ext != ".exe" && ext != ".dll")) { continue; } if (excludedFilesNames.ContainsKey(fileName.ToLower())) { if (verboseLevel > 2) { Console.WriteLine("Excluded file {0} (exclusion specified in options).", Path.GetFileName(fullFileName)); } continue; } if (!File.Exists(fullFileName)) { if (verboseLevel > 2) { Console.WriteLine("Omitted assembly {0} (file doesn't exist).", fileName); } continue; } if (verboseLevel > 2) { Console.Write("Processing assembly {0}... ", fileName); } assembliesInfo.ReadMyAssemblyInfoFromAssembly(fullFileName, excludedNamespaces); if (verboseLevel > 2) { Console.WriteLine("DONE"); } } // process xml documentations (*.xml) foreach (string fullFileName in filesNames) { string fileName = Path.GetFileName(fullFileName); string ext = Path.GetExtension(fileName).ToLower(); if (ext != ".xml" || excludedFilesNames.ContainsKey(fileName.ToLower())) { continue; } if (!File.Exists(fullFileName)) { if (verboseLevel > 2) { Console.WriteLine("Omitted documentation file {0} (file doesn't exist).", fileName); } continue; } if (verboseLevel > 2) { Console.Write("Processing documentation file {0}... ", fileName); } assembliesInfo.ReadMyAssemblyInfoFromXmlDocumentation(fullFileName); if (verboseLevel > 2) { Console.WriteLine("DONE"); } } // process additional documentation (*.docs) foreach (string fullFileName in filesNames) { string fileName = Path.GetFileName(fullFileName); string ext = Path.GetExtension(fileName).ToLower(); if (ext != ".docs" || excludedFilesNames.ContainsKey(fileName.ToLower())) { continue; } if (!File.Exists(fullFileName)) { if (verboseLevel > 2) { Console.WriteLine("Omitted additional documentation file {0} (file doesn't exist).", fileName); } continue; } if (!ValidateAdditionalDocumentationFile(fullFileName)) { if (verboseLevel > 2) { Console.WriteLine("Omitted additional documentation file {0} (wrong file format).", fileName); } continue; } if (verboseLevel > 2) { Console.Write("Reading additional documentation file {0}... ", fileName); } assembliesInfo.ReadAdditionalDocumentation(fullFileName); if (verboseLevel > 2) { Console.WriteLine("DONE"); } } }
public MyAssemblyInfo(string name, AssembliesInfo assembliesInfo) { this.name = name; this.assembliesInfo = assembliesInfo; }
public Documenter(AssembliesInfo assembliesInfo) { this.assembliesInfo = assembliesInfo; }
public Documenter(AssembliesInfo assembliesInfo) { this.assembliesInfo = assembliesInfo; }