Exemplo n.º 1
0
		/// <summary>
		/// Initializes a new instance of the <see cref="Msdn2Documenter" />
		/// class.
		/// </summary>
		public Msdn2Documenter( Msdn2DocumenterConfig 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();
		}
Exemplo n.º 2
0
		/// <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(Msdn2DocumenterConfig config, string fileName)
		{
			_config = config;
			_fileName = fileName;
		}
Exemplo n.º 3
0
		/// <summary>See IDocumenter.</summary>
		public override void Clear()
		{
			Config = new Msdn2DocumenterConfig();
		}