Author: kostat
Date: 2006-08-21 03:00:53 -0400 (Mon, 21 Aug 2006)
New Revision: 64126
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ServiceDescriptionCollection.cs
Log:
* ServiceDescriptionCollection.cs: refactoring for Add(), removing using of
ServiceDescriptionImporter for java profile as there is no support for
code generation.
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
2006-08-21 06:51:02 UTC (rev 64125)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
2006-08-21 07:00:53 UTC (rev 64126)
@@ -1,3 +1,9 @@
+2006-08-21 Konstantin Triger <[EMAIL PROTECTED]>
+
+ * ServiceDescriptionCollection.cs: refactoring for Add(), removing
using of
+ ServiceDescriptionImporter for java profile as there is no
support for
+ code generation.
+
2006-07-24 Atsushi Enomoto <[EMAIL PROTECTED]>
* ProtocolImporter.cs, ServiceDescriptionImporter.cs :
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ServiceDescriptionCollection.cs
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ServiceDescriptionCollection.cs
2006-08-21 06:51:02 UTC (rev 64125)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ServiceDescriptionCollection.cs
2006-08-21 07:00:53 UTC (rev 64126)
@@ -35,7 +35,9 @@
namespace System.Web.Services.Description {
public sealed class ServiceDescriptionCollection :
ServiceDescriptionBaseCollection {
+#if !TARGET_JVM //code generation is not supported
ServiceDescriptionImporter importer;
+#endif
#region Constructors
@@ -66,25 +68,24 @@
#endregion // Properties
- #region Methods
-
+ #region Methods
+#if !TARGET_JVM //code generation is not supported
internal void SetImporter (ServiceDescriptionImporter i)
{
importer = i;
}
-
+#endif
public int Add (ServiceDescription serviceDescription)
- {
- if (importer != null)
- importer.OnServiceDescriptionAdded
(serviceDescription, null, null);
- Insert (Count, serviceDescription);
- return (Count - 1);
+ {
+ return Add (serviceDescription, null, null);
}
internal int Add (ServiceDescription serviceDescription, string
appSettingUrlKey, string appSettingBaseUrl)
{
+#if !TARGET_JVM
if (importer != null)
importer.OnServiceDescriptionAdded
(serviceDescription, appSettingUrlKey, appSettingBaseUrl);
+#endif
Insert (Count, serviceDescription);
return (Count - 1);
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches