Author: toshok
Date: 2006-01-09 17:21:53 -0500 (Mon, 09 Jan 2006)
New Revision: 55270
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/ChangeLog
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/ProtocolElement.cs
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/SoapEnvelopeProcessingElement.cs
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/SoapExtensionTypeElement.cs
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/WebServicesSection.cs
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/WsiProfilesElement.cs
Log:
2006-01-09 Chris Toshok <[EMAIL PROTECTED]>
* SoapEnvelopeProcessingElement.cs: fix dumper output.
* SoapExtensionTypeElement.cs: same.
* ProtocolElement.cs: same.
* WsiProfilesElement.cs: same.
* WebServicesSection.cs: same.
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/ChangeLog
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/ChangeLog
2006-01-09 22:17:31 UTC (rev 55269)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/ChangeLog
2006-01-09 22:21:53 UTC (rev 55270)
@@ -1,3 +1,15 @@
+2006-01-09 Chris Toshok <[EMAIL PROTECTED]>
+
+ * SoapEnvelopeProcessingElement.cs: fix dumper output.
+
+ * SoapExtensionTypeElement.cs: same.
+
+ * ProtocolElement.cs: same.
+
+ * WsiProfilesElement.cs: same.
+
+ * WebServicesSection.cs: same.
+
2006-01-06 Raja R Harinath <[EMAIL PROTECTED]>
* TypeElement.cs (TypeElement) [string variant]: Use Type.GetType.
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/ProtocolElement.cs
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/ProtocolElement.cs
2006-01-09 22:17:31 UTC (rev 55269)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/ProtocolElement.cs
2006-01-09 22:21:53 UTC (rev 55270)
@@ -42,7 +42,8 @@
static ProtocolElement ()
{
- nameProp = new ConfigurationProperty ("name", typeof
(WebServiceProtocols), WebServiceProtocols.Unknown,
ConfigurationPropertyOptions.IsKey);
+ nameProp = new ConfigurationProperty ("name", typeof
(WebServiceProtocols), WebServiceProtocols.Unknown,
+ new
GenericEnumConverter (typeof (WebServiceProtocols)), null,
ConfigurationPropertyOptions.IsKey);
properties = new ConfigurationPropertyCollection ();
properties.Add (nameProp);
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/SoapEnvelopeProcessingElement.cs
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/SoapEnvelopeProcessingElement.cs
2006-01-09 22:17:31 UTC (rev 55269)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/SoapEnvelopeProcessingElement.cs
2006-01-09 22:21:53 UTC (rev 55270)
@@ -45,7 +45,9 @@
static SoapEnvelopeProcessingElement ()
{
strictProp = new ConfigurationProperty ("strict",
typeof (bool), false);
- readTimeoutProp = new ConfigurationProperty
("readTimeout", typeof (int), Int32.MaxValue);
+ readTimeoutProp = new ConfigurationProperty
("readTimeout", typeof (int), Int32.MaxValue,
+ new
InfiniteIntConverter(), null,
+
ConfigurationPropertyOptions.None);
properties = new ConfigurationPropertyCollection ();
properties.Add (strictProp);
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/SoapExtensionTypeElement.cs
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/SoapExtensionTypeElement.cs
2006-01-09 22:17:31 UTC (rev 55269)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/SoapExtensionTypeElement.cs
2006-01-09 22:21:53 UTC (rev 55270)
@@ -46,8 +46,11 @@
static SoapExtensionTypeElement ()
{
groupProp = new ConfigurationProperty ("group", typeof
(PriorityGroup), PriorityGroup.Low, ConfigurationPropertyOptions.IsKey);
- priorityProp = new ConfigurationProperty ("priority",
typeof (int), 0, ConfigurationPropertyOptions.IsKey);
- typeProp = new ConfigurationProperty ("type", typeof
(Type), null, ConfigurationPropertyOptions.IsKey);
+ priorityProp = new ConfigurationProperty ("priority",
typeof (int), 0,
+ new
Int32Converter(), new IntegerValidator (0, Int32.MaxValue),
+
ConfigurationPropertyOptions.IsKey);
+ typeProp = new ConfigurationProperty ("type", typeof
(Type), null,
+ null, null,
ConfigurationPropertyOptions.IsKey);
properties = new ConfigurationPropertyCollection ();
properties.Add (groupProp);
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/WebServicesSection.cs
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/WebServicesSection.cs
2006-01-09 22:17:31 UTC (rev 55269)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/WebServicesSection.cs
2006-01-09 22:21:53 UTC (rev 55270)
@@ -39,6 +39,7 @@
public sealed class WebServicesSection : ConfigurationSection
{
static ConfigurationProperty conformanceWarningsProp;
+ static ConfigurationProperty diagnosticsProp;
static ConfigurationProperty protocolsProp;
static ConfigurationProperty
serviceDescriptionFormatExtensionTypesProp;
static ConfigurationProperty soapEnvelopeProcessingProp;
@@ -52,19 +53,32 @@
static WebServicesSection ()
{
- conformanceWarningsProp = new ConfigurationProperty
("conformanceWarnings", typeof (WsiProfilesElementCollection));
- protocolsProp = new ConfigurationProperty
("protocols", typeof (ProtocolElementCollection));
- serviceDescriptionFormatExtensionTypesProp = new
ConfigurationProperty ("serviceDescriptionFormatExtensionTypes", typeof
(TypeElementCollection));
- soapEnvelopeProcessingProp = new ConfigurationProperty
("soapEnvelopeProcessing", typeof (SoapEnvelopeProcessingElement));
- soapExtensionImporterTypesProp = new
ConfigurationProperty ("soapExtensionImporterTypes", typeof
(TypeElementCollection));
- soapExtensionReflectorTypesProp = new
ConfigurationProperty ("soapExtensionReflectorTypes", typeof
(TypeElementCollection));
- soapExtensionTypesProp = new ConfigurationProperty
("soapExtensionTypes", typeof (SoapExtensionTypeElementCollection));
- soapServerProtocolFactoryProp = new
ConfigurationProperty ("soapServerProtocolFactory", typeof (TypeElement));
- soapTransportImporterTypesProp = new
ConfigurationProperty ("soapTransportImporterTypes", typeof
(TypeElementCollection));
- wsdlHelpGeneratorProp = new ConfigurationProperty
("wsdlHelpGenerator", typeof (WsdlHelpGeneratorElement));
+ conformanceWarningsProp = new ConfigurationProperty
("conformanceWarnings", typeof (WsiProfilesElementCollection), null,
+
null, null, ConfigurationPropertyOptions.None);
+ diagnosticsProp = new ConfigurationProperty
("diagnostics", typeof (DiagnosticsElement), null,
+ null,
null, ConfigurationPropertyOptions.None);
+ protocolsProp = new ConfigurationProperty
("protocols", typeof (ProtocolElementCollection), null,
+ null, null,
ConfigurationPropertyOptions.None);
+ serviceDescriptionFormatExtensionTypesProp = new
ConfigurationProperty ("serviceDescriptionFormatExtensionTypes", typeof
(TypeElementCollection), null,
+
null, null, ConfigurationPropertyOptions.None);
+ soapEnvelopeProcessingProp = new ConfigurationProperty
("soapEnvelopeProcessing", typeof (SoapEnvelopeProcessingElement), null,
+
null, null, ConfigurationPropertyOptions.None);
+ soapExtensionImporterTypesProp = new
ConfigurationProperty ("soapExtensionImporterTypes", typeof
(TypeElementCollection), null,
+
null, null, ConfigurationPropertyOptions.None);
+ soapExtensionReflectorTypesProp = new
ConfigurationProperty ("soapExtensionReflectorTypes", typeof
(TypeElementCollection), null,
+
null, null, ConfigurationPropertyOptions.None);
+ soapExtensionTypesProp = new ConfigurationProperty
("soapExtensionTypes", typeof (SoapExtensionTypeElementCollection), null,
+
null, null, ConfigurationPropertyOptions.None);
+ soapServerProtocolFactoryProp = new
ConfigurationProperty ("soapServerProtocolFactory", typeof (TypeElement), null,
+
null, null, ConfigurationPropertyOptions.None);
+ soapTransportImporterTypesProp = new
ConfigurationProperty ("soapTransportImporterTypes", typeof
(TypeElementCollection), null,
+
null, null, ConfigurationPropertyOptions.None);
+ wsdlHelpGeneratorProp = new ConfigurationProperty
("wsdlHelpGenerator", typeof (WsdlHelpGeneratorElement), null,
+
null, null, ConfigurationPropertyOptions.None);
properties = new ConfigurationPropertyCollection ();
properties.Add (conformanceWarningsProp);
+ properties.Add (diagnosticsProp);
properties.Add (protocolsProp);
properties.Add
(serviceDescriptionFormatExtensionTypesProp);
properties.Add (soapEnvelopeProcessingProp);
@@ -101,10 +115,9 @@
get { throw new NotImplementedException (); }
}
- [MonoTODO ("why doesn't this have a
ConfigurationPropertyAttribute?")]
public DiagnosticsElement Diagnostics {
- get { throw new NotImplementedException (); }
- set { throw new NotImplementedException (); }
+ get { return (DiagnosticsElement) base
[diagnosticsProp]; }
+ set { base[diagnosticsProp] = value; }
}
[MonoTODO]
@@ -176,7 +189,7 @@
internal static bool IsSupported (WebServiceProtocols proto)
{
- return ((Instance.EnabledProtocols & proto) == proto &&
(proto != 0));
+ return ((Instance.EnabledProtocols & proto) == proto &&
(proto != WebServiceProtocols.Unknown));
}
}
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/WsiProfilesElement.cs
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/WsiProfilesElement.cs
2006-01-09 22:17:31 UTC (rev 55269)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Configuration/WsiProfilesElement.cs
2006-01-09 22:21:53 UTC (rev 55270)
@@ -43,7 +43,10 @@
static WsiProfilesElement ()
{
- nameProp = new ConfigurationProperty ("name", typeof
(WsiProfiles), WsiProfiles.None, ConfigurationPropertyOptions.IsKey);
+ nameProp = new ConfigurationProperty ("name", typeof
(WsiProfiles), WsiProfiles.None,
+ new
GenericEnumConverter (typeof (WsiProfiles)),
+ null,
+
ConfigurationPropertyOptions.IsKey);
properties = new ConfigurationPropertyCollection ();
properties.Add (nameProp);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches