[Mono-devel-list] PATCH: wsdl, wsdl2, DefaultWsdlHelpGenerator.aspx, SoapDocumentationHandler.cs with support to multiples languages (Changed)

Rogerio Pereira rogerio.araujo at gmail.com
Mon Feb 7 12:32:58 EST 2005

Only two languages in MonoWsdl.cs

		/// <summary>
		///	Fetch the Code Provider for the language specified by the
'language' members.
		/// </summary>
		private CodeDomProvider GetProvider()
			// FIXME these should be loaded dynamically using reflection
			CodeDomProvider provider;
			switch (language.ToUpper())
			    case "CS":
				    provider = new CSharpCodeProvider();
				case "VB":
					provider = new Microsoft.VisualBasic.VBCodeProvider();
				    throw new Exception("Unknow language");

			return provider;

More information about the Mono-devel-list mailing list