/// <summary> /// Initializes a new instance of the <see cref="MsdnDocumenter" /> /// class. /// </summary> public MsdnDocumenter( MsdnDocumenterConfig config ) : base( config ) { lowerCaseTypeNames = new Hashtable(); lowerCaseTypeNames.Add(WhichType.Class, "class"); lowerCaseTypeNames.Add(WhichType.Interface, "interface"); lowerCaseTypeNames.Add(WhichType.Structure, "structure"); lowerCaseTypeNames.Add(WhichType.Enumeration, "enumeration"); lowerCaseTypeNames.Add(WhichType.Delegate, "delegate"); mixedCaseTypeNames = new Hashtable(); mixedCaseTypeNames.Add(WhichType.Class, "Class"); mixedCaseTypeNames.Add(WhichType.Interface, "Interface"); mixedCaseTypeNames.Add(WhichType.Structure, "Structure"); mixedCaseTypeNames.Add(WhichType.Enumeration, "Enumeration"); mixedCaseTypeNames.Add(WhichType.Delegate, "Delegate"); fileNames = new StringDictionary(); elemNames = new StringDictionary(); }
/// <summary>See IDocumenter.</summary> public override void Clear() { Config = new MsdnDocumenterConfig(); }
/// <summary> /// Contructor. /// </summary> /// <param name="config">MsdnDocumenterConfig from which the property values can be retrieved.</param> /// <param name="fileName">Name of the HTML file that is currently being generated by the xslt processor.</param> public ExternalHtmlProvider(MsdnDocumenterConfig config, string fileName) { _config = config; _fileName = fileName; }