Author: atsushi
Date: 2008-02-16 08:54:04 -0500 (Sat, 16 Feb 2008)
New Revision: 95868

Added:
   trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/ChangeLog
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebHttpBindingCollectionElement.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebHttpBindingElement.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebHttpElement.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebHttpSecurityElement.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebMessageEncodingElement.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebScriptEnablingElement.cs
Modified:
   trunk/olive/class/System.ServiceModel.Web/ChangeLog
   trunk/olive/class/System.ServiceModel.Web/Makefile
   trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web.dll.sources
Log:
2008-02-16  Atsushi Enomoto  <[EMAIL PROTECTED]>

        * Makefile : -r:System.Configuration.dll.

        * WebHttpBindingCollectionElement.cs, WebHttpBindingElement.cs,
          WebHttpElement.cs, WebHttpSecurityElement.cs,
          WebMessageEncodingElement.cs, WebScriptEnablingElement.cs :
          new stubs.



Modified: trunk/olive/class/System.ServiceModel.Web/ChangeLog
===================================================================
--- trunk/olive/class/System.ServiceModel.Web/ChangeLog 2008-02-16 13:33:02 UTC 
(rev 95867)
+++ trunk/olive/class/System.ServiceModel.Web/ChangeLog 2008-02-16 13:54:04 UTC 
(rev 95868)
@@ -1,3 +1,7 @@
+2008-02-16  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
+       * Makefile : -r:System.Configuration.dll.
+
 2007-12-07  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
        * System.ServiceModel.Web.dll.sources : fixed wrong source name.

Modified: trunk/olive/class/System.ServiceModel.Web/Makefile
===================================================================
--- trunk/olive/class/System.ServiceModel.Web/Makefile  2008-02-16 13:33:02 UTC 
(rev 95867)
+++ trunk/olive/class/System.ServiceModel.Web/Makefile  2008-02-16 13:54:04 UTC 
(rev 95868)
@@ -3,7 +3,7 @@
 include ../../build/rules.make
 
 LIBRARY = System.ServiceModel.Web.dll
-LIB_MCS_FLAGS = -r:System.dll -r:System.Xml.dll 
-r:../lib/net_3_0/System.Runtime.Serialization.dll 
-r:../lib/net_3_0/System.ServiceModel.dll
+LIB_MCS_FLAGS = -r:System.dll -r:System.Xml.dll -r:System.Configuration.dll 
-r:../lib/net_3_0/System.Runtime.Serialization.dll 
-r:../lib/net_3_0/System.ServiceModel.dll
 
 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
 

Added: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/ChangeLog
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/ChangeLog
       2008-02-16 13:33:02 UTC (rev 95867)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/ChangeLog
       2008-02-16 13:54:04 UTC (rev 95868)
@@ -0,0 +1,6 @@
+2008-02-16  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
+       * WebHttpBindingCollectionElement.cs, WebHttpBindingElement.cs,
+         WebHttpElement.cs, WebHttpSecurityElement.cs,
+         WebMessageEncodingElement.cs, WebScriptEnablingElement.cs :
+         new stubs.

Added: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebHttpBindingCollectionElement.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebHttpBindingCollectionElement.cs
      2008-02-16 13:33:02 UTC (rev 95867)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebHttpBindingCollectionElement.cs
      2008-02-16 13:54:04 UTC (rev 95868)
@@ -0,0 +1,71 @@
+//
+// WebHttpBindingCollectionElement.cs
+//
+// Author:
+//     Atsushi Enomoto <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2008 Novell, Inc.  http://www.novell.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.ComponentModel;
+using System.Configuration;
+using System.Net;
+using System.Net.Security;
+using System.Reflection;
+using System.ServiceModel;
+using System.ServiceModel.Channels;
+using System.ServiceModel.Description;
+using System.ServiceModel.Diagnostics;
+using System.ServiceModel.Dispatcher;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Xml;
+
+namespace System.ServiceModel.Configuration
+{
+       [MonoTODO]
+       public partial class WebHttpBindingCollectionElement
+                : StandardBindingCollectionElement<WebHttpBinding, 
WebHttpBindingElement>
+       {
+               // Static Fields
+               static ConfigurationPropertyCollection properties;
+
+               static WebHttpBindingCollectionElement ()
+               {
+                       properties = new ConfigurationPropertyCollection ();
+               }
+
+               public WebHttpBindingCollectionElement ()
+               {
+               }
+
+
+               // Properties
+
+
+       }
+
+}


Property changes on: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebHttpBindingCollectionElement.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebHttpBindingElement.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebHttpBindingElement.cs
        2008-02-16 13:33:02 UTC (rev 95867)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebHttpBindingElement.cs
        2008-02-16 13:54:04 UTC (rev 95868)
@@ -0,0 +1,259 @@
+//
+// WebHttpBindingElement.cs
+//
+// Author:
+//     Atsushi Enomoto <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2008 Novell, Inc.  http://www.novell.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.ComponentModel;
+using System.Configuration;
+using System.Net;
+using System.Net.Security;
+using System.Reflection;
+using System.ServiceModel;
+using System.ServiceModel.Channels;
+using System.ServiceModel.Description;
+using System.ServiceModel.Diagnostics;
+using System.ServiceModel.Dispatcher;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Xml;
+
+namespace System.ServiceModel.Configuration
+{
+       [MonoTODO]
+       public partial class WebHttpBindingElement
+                : StandardBindingElement,  IBindingConfigurationElement
+       {
+               // Static Fields
+               static ConfigurationPropertyCollection properties;
+               static ConfigurationProperty allow_cookies;
+               static ConfigurationProperty binding_element_type;
+               static ConfigurationProperty bypass_proxy_on_local;
+               static ConfigurationProperty host_name_comparison_mode;
+               static ConfigurationProperty max_buffer_pool_size;
+               static ConfigurationProperty max_buffer_size;
+               static ConfigurationProperty max_received_message_size;
+               static ConfigurationProperty proxy_address;
+               static ConfigurationProperty reader_quotas;
+               static ConfigurationProperty security;
+               static ConfigurationProperty write_encoding;
+               static ConfigurationProperty transfer_mode;
+               static ConfigurationProperty use_default_web_proxy;
+
+               static WebHttpBindingElement ()
+               {
+                       properties = new ConfigurationPropertyCollection ();
+                       allow_cookies = new ConfigurationProperty 
("allowCookies",
+                               typeof (bool), "false", new BooleanConverter 
(), null,
+                               ConfigurationPropertyOptions.None);
+
+                       binding_element_type = new ConfigurationProperty ("",
+                               typeof (Type), null, new TypeConverter (), null,
+                               ConfigurationPropertyOptions.None);
+
+                       bypass_proxy_on_local = new ConfigurationProperty 
("bypassProxyOnLocal",
+                               typeof (bool), "false", new BooleanConverter 
(), null,
+                               ConfigurationPropertyOptions.None);
+
+                       host_name_comparison_mode = new ConfigurationProperty 
("hostNameComparisonMode",
+                               typeof (HostNameComparisonMode), 
"StrongWildcard", null/* FIXME: get converter for HostNameComparisonMode*/, 
null,
+                               ConfigurationPropertyOptions.None);
+
+                       max_buffer_pool_size = new ConfigurationProperty 
("maxBufferPoolSize",
+                               typeof (long), "524288", null/* FIXME: get 
converter for long*/, null,
+                               ConfigurationPropertyOptions.None);
+
+                       max_buffer_size = new ConfigurationProperty 
("maxBufferSize",
+                               typeof (int), "65536", null/* FIXME: get 
converter for int*/, null,
+                               ConfigurationPropertyOptions.None);
+
+                       max_received_message_size = new ConfigurationProperty 
("maxReceivedMessageSize",
+                               typeof (long), "65536", null/* FIXME: get 
converter for long*/, null,
+                               ConfigurationPropertyOptions.None);
+
+                       proxy_address = new ConfigurationProperty 
("proxyAddress",
+                               typeof (Uri), null, new UriTypeConverter (), 
null,
+                               ConfigurationPropertyOptions.None);
+
+                       reader_quotas = new ConfigurationProperty 
("readerQuotas",
+                               typeof (XmlDictionaryReaderQuotasElement), 
null, null/* FIXME: get converter for XmlDictionaryReaderQuotasElement*/, null,
+                               ConfigurationPropertyOptions.None);
+
+                       security = new ConfigurationProperty ("security",
+                               typeof (WebHttpSecurityElement), null, null/* 
FIXME: get converter for WebHttpSecurityElement*/, null,
+                               ConfigurationPropertyOptions.None);
+
+                       write_encoding = new ConfigurationProperty 
("writeEncoding",
+                               typeof (Encoding), "utf-8", null/* FIXME: get 
converter for Encoding*/, null,
+                               ConfigurationPropertyOptions.None);
+
+                       transfer_mode = new ConfigurationProperty 
("transferMode",
+                               typeof (TransferMode), "Buffered", null/* 
FIXME: get converter for TransferMode*/, null,
+                               ConfigurationPropertyOptions.None);
+
+                       use_default_web_proxy = new ConfigurationProperty 
("useDefaultWebProxy",
+                               typeof (bool), "true", new BooleanConverter (), 
null,
+                               ConfigurationPropertyOptions.None);
+
+                       properties.Add (allow_cookies);
+                       properties.Add (binding_element_type);
+                       properties.Add (bypass_proxy_on_local);
+                       properties.Add (host_name_comparison_mode);
+                       properties.Add (max_buffer_pool_size);
+                       properties.Add (max_buffer_size);
+                       properties.Add (max_received_message_size);
+                       properties.Add (proxy_address);
+                       properties.Add (reader_quotas);
+                       properties.Add (security);
+                       properties.Add (write_encoding);
+                       properties.Add (transfer_mode);
+                       properties.Add (use_default_web_proxy);
+               }
+
+               public WebHttpBindingElement ()
+               {
+               }
+
+
+               // Properties
+
+               [ConfigurationProperty ("allowCookies",
+                       DefaultValue = false,
+                        Options = ConfigurationPropertyOptions.None)]
+               public bool AllowCookies {
+                       get { return (bool) base [allow_cookies]; }
+                       set { base [allow_cookies] = value; }
+               }
+
+               public override Type BindingElementType {
+                       get { return (Type) base [binding_element_type]; }
+               }
+
+               [ConfigurationProperty ("bypassProxyOnLocal",
+                       DefaultValue = false,
+                        Options = ConfigurationPropertyOptions.None)]
+               public bool BypassProxyOnLocal {
+                       get { return (bool) base [bypass_proxy_on_local]; }
+                       set { base [bypass_proxy_on_local] = value; }
+               }
+
+               [ConfigurationProperty ("hostNameComparisonMode",
+                        DefaultValue = "StrongWildcard",
+                        Options = ConfigurationPropertyOptions.None)]
+               public HostNameComparisonMode HostNameComparisonMode {
+                       get { return (HostNameComparisonMode) base 
[host_name_comparison_mode]; }
+                       set { base [host_name_comparison_mode] = value; }
+               }
+
+               [LongValidator ( MinValue = 0,
+                        MaxValue = 9223372036854775807,
+                       ExcludeRange = false)]
+               [ConfigurationProperty ("maxBufferPoolSize",
+                        DefaultValue = "524288",
+                        Options = ConfigurationPropertyOptions.None)]
+               public long MaxBufferPoolSize {
+                       get { return (long) base [max_buffer_pool_size]; }
+                       set { base [max_buffer_pool_size] = value; }
+               }
+
+               [IntegerValidator ( MinValue = 1,
+                       MaxValue = int.MaxValue,
+                       ExcludeRange = false)]
+               [ConfigurationProperty ("maxBufferSize",
+                        DefaultValue = "65536",
+                        Options = ConfigurationPropertyOptions.None)]
+               public int MaxBufferSize {
+                       get { return (int) base [max_buffer_size]; }
+                       set { base [max_buffer_size] = value; }
+               }
+
+               [LongValidator ( MinValue = 1,
+                        MaxValue = 9223372036854775807,
+                       ExcludeRange = false)]
+               [ConfigurationProperty ("maxReceivedMessageSize",
+                        DefaultValue = "65536",
+                        Options = ConfigurationPropertyOptions.None)]
+               public long MaxReceivedMessageSize {
+                       get { return (long) base [max_received_message_size]; }
+                       set { base [max_received_message_size] = value; }
+               }
+
+               protected override ConfigurationPropertyCollection Properties {
+                       get { return properties; }
+               }
+
+               [ConfigurationProperty ("proxyAddress",
+                        DefaultValue = null,
+                        Options = ConfigurationPropertyOptions.None)]
+               public Uri ProxyAddress {
+                       get { return (Uri) base [proxy_address]; }
+                       set { base [proxy_address] = value; }
+               }
+
+               [ConfigurationProperty ("readerQuotas",
+                        Options = ConfigurationPropertyOptions.None)]
+               public XmlDictionaryReaderQuotasElement ReaderQuotas {
+                       get { return (XmlDictionaryReaderQuotasElement) base 
[reader_quotas]; }
+               }
+
+               [ConfigurationProperty ("security",
+                        Options = ConfigurationPropertyOptions.None)]
+               public WebHttpSecurityElement Security {
+                       get { return (WebHttpSecurityElement) base [security]; }
+               }
+
+               [TypeConverter ()]
+               [ConfigurationProperty ("writeEncoding",
+                        DefaultValue = "utf-8",
+                        Options = ConfigurationPropertyOptions.None)]
+               public Encoding WriteEncoding {
+                       get { return (Encoding) base [write_encoding]; }
+                       set { base [write_encoding] = value; }
+               }
+
+               [ConfigurationProperty ("transferMode",
+                        DefaultValue = "Buffered",
+                        Options = ConfigurationPropertyOptions.None)]
+               public TransferMode TransferMode {
+                       get { return (TransferMode) base [transfer_mode]; }
+                       set { base [transfer_mode] = value; }
+               }
+
+               [ConfigurationProperty ("useDefaultWebProxy",
+                       DefaultValue = true,
+                        Options = ConfigurationPropertyOptions.None)]
+               public bool UseDefaultWebProxy {
+                       get { return (bool) base [use_default_web_proxy]; }
+                       set { base [use_default_web_proxy] = value; }
+               }
+
+
+       }
+
+}


Property changes on: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebHttpBindingElement.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebHttpElement.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebHttpElement.cs
       2008-02-16 13:33:02 UTC (rev 95867)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebHttpElement.cs
       2008-02-16 13:54:04 UTC (rev 95868)
@@ -0,0 +1,81 @@
+//
+// WebHttpElement.cs
+//
+// Author:
+//     Atsushi Enomoto <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2008 Novell, Inc.  http://www.novell.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.ComponentModel;
+using System.Configuration;
+using System.Net;
+using System.Net.Security;
+using System.Reflection;
+using System.ServiceModel;
+using System.ServiceModel.Channels;
+using System.ServiceModel.Description;
+using System.ServiceModel.Diagnostics;
+using System.ServiceModel.Dispatcher;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Xml;
+
+namespace System.ServiceModel.Configuration
+{
+       [MonoTODO]
+       public sealed partial class WebHttpElement
+                : BehaviorExtensionElement
+       {
+               // Static Fields
+               static ConfigurationPropertyCollection properties;
+               static ConfigurationProperty behavior_type;
+
+               static WebHttpElement ()
+               {
+                       properties = new ConfigurationPropertyCollection ();
+                       behavior_type = new ConfigurationProperty ("",
+                               typeof (Type), null, new TypeConverter (), null,
+                               ConfigurationPropertyOptions.None);
+
+                       properties.Add (behavior_type);
+               }
+
+               public WebHttpElement ()
+               {
+               }
+
+               public override Type BehaviorType {
+                       get { return (Type) base [behavior_type]; }
+               }
+
+               protected override object CreateBehavior ()
+               {
+                       return new WebHttpBehavior ();
+               }
+       }
+
+}


Property changes on: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebHttpElement.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebHttpSecurityElement.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebHttpSecurityElement.cs
       2008-02-16 13:33:02 UTC (rev 95867)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebHttpSecurityElement.cs
       2008-02-16 13:54:04 UTC (rev 95868)
@@ -0,0 +1,102 @@
+//
+// WebHttpSecurityElement.cs
+//
+// Author:
+//     Atsushi Enomoto <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2008 Novell, Inc.  http://www.novell.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.ComponentModel;
+using System.Configuration;
+using System.Net;
+using System.Net.Security;
+using System.Reflection;
+using System.ServiceModel;
+using System.ServiceModel.Channels;
+using System.ServiceModel.Description;
+using System.ServiceModel.Diagnostics;
+using System.ServiceModel.Dispatcher;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Xml;
+
+namespace System.ServiceModel.Configuration
+{
+       [MonoTODO]
+       public sealed partial class WebHttpSecurityElement
+                : ConfigurationElement
+       {
+               // Static Fields
+               static ConfigurationPropertyCollection properties;
+               static ConfigurationProperty mode;
+               static ConfigurationProperty transport;
+
+               static WebHttpSecurityElement ()
+               {
+                       properties = new ConfigurationPropertyCollection ();
+
+                       mode = new ConfigurationProperty ("mode",
+                               typeof (WebHttpSecurityMode), "None", null/* 
FIXME: get converter for WebHttpSecurityMode*/, null,
+                               ConfigurationPropertyOptions.None);
+
+                       transport = new ConfigurationProperty ("transport",
+                               typeof (HttpTransportSecurityElement), null, 
null/* FIXME: get converter for HttpTransportSecurityElement*/, null,
+                               ConfigurationPropertyOptions.None);
+
+                       properties.Add (mode);
+                       properties.Add (transport);
+               }
+
+               public WebHttpSecurityElement ()
+               {
+               }
+
+
+               // Properties
+
+               [ConfigurationProperty ("mode",
+                        DefaultValue = "None",
+                        Options = ConfigurationPropertyOptions.None)]
+               public WebHttpSecurityMode Mode {
+                       get { return (WebHttpSecurityMode) base [mode]; }
+                       set { base [mode] = value; }
+               }
+
+               protected override ConfigurationPropertyCollection Properties {
+                       get { return properties; }
+               }
+
+               [ConfigurationProperty ("transport",
+                        Options = ConfigurationPropertyOptions.None)]
+               public HttpTransportSecurityElement Transport {
+                       get { return (HttpTransportSecurityElement) base 
[transport]; }
+               }
+
+
+       }
+
+}


Property changes on: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebHttpSecurityElement.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebMessageEncodingElement.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebMessageEncodingElement.cs
    2008-02-16 13:33:02 UTC (rev 95867)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebMessageEncodingElement.cs
    2008-02-16 13:54:04 UTC (rev 95868)
@@ -0,0 +1,158 @@
+//
+// WebMessageEncodingElement.cs
+//
+// Author:
+//     Atsushi Enomoto <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2008 Novell, Inc.  http://www.novell.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.ComponentModel;
+using System.Configuration;
+using System.Net;
+using System.Net.Security;
+using System.Reflection;
+using System.ServiceModel;
+using System.ServiceModel.Channels;
+using System.ServiceModel.Description;
+using System.ServiceModel.Diagnostics;
+using System.ServiceModel.Dispatcher;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Xml;
+
+namespace System.ServiceModel.Configuration
+{
+       [MonoTODO]
+       public sealed partial class WebMessageEncodingElement
+                : BindingElementExtensionElement
+       {
+               // Static Fields
+               static ConfigurationPropertyCollection properties;
+               static ConfigurationProperty binding_element_type;
+               static ConfigurationProperty max_read_pool_size;
+               static ConfigurationProperty max_write_pool_size;
+               static ConfigurationProperty reader_quotas;
+               static ConfigurationProperty write_encoding;
+               static ConfigurationProperty web_content_type_mapper_type;
+
+               static WebMessageEncodingElement ()
+               {
+                       properties = new ConfigurationPropertyCollection ();
+                       binding_element_type = new ConfigurationProperty ("",
+                               typeof (Type), null, new TypeConverter (), null,
+                               ConfigurationPropertyOptions.None);
+
+                       max_read_pool_size = new ConfigurationProperty 
("maxReadPoolSize",
+                               typeof (int), "64", null/* FIXME: get converter 
for int*/, null,
+                               ConfigurationPropertyOptions.None);
+
+                       max_write_pool_size = new ConfigurationProperty 
("maxWritePoolSize",
+                               typeof (int), "16", null/* FIXME: get converter 
for int*/, null,
+                               ConfigurationPropertyOptions.None);
+
+                       reader_quotas = new ConfigurationProperty 
("readerQuotas",
+                               typeof (XmlDictionaryReaderQuotasElement), 
null, null/* FIXME: get converter for XmlDictionaryReaderQuotasElement*/, null,
+                               ConfigurationPropertyOptions.None);
+
+                       write_encoding = new ConfigurationProperty 
("writeEncoding",
+                               typeof (Encoding), "utf-8", null/* FIXME: get 
converter for Encoding*/, null,
+                               ConfigurationPropertyOptions.None);
+
+                       web_content_type_mapper_type = new 
ConfigurationProperty ("",
+                               typeof (string), null, null /* FIXME: supply 
*/, null,
+                               ConfigurationPropertyOptions.None);
+
+                       properties.Add (binding_element_type);
+                       properties.Add (max_read_pool_size);
+                       properties.Add (max_write_pool_size);
+                       properties.Add (reader_quotas);
+                       properties.Add (write_encoding);
+                       properties.Add (web_content_type_mapper_type);
+               }
+
+               public WebMessageEncodingElement ()
+               {
+               }
+
+
+               // Properties
+
+               public override Type BindingElementType {
+                       get { return (Type) base [binding_element_type]; }
+               }
+
+               [ConfigurationProperty ("maxReadPoolSize",
+                        Options = ConfigurationPropertyOptions.None,
+                        DefaultValue = "64")]
+               [IntegerValidator ( MinValue = 1,
+                       MaxValue = int.MaxValue,
+                       ExcludeRange = false)]
+               public int MaxReadPoolSize {
+                       get { return (int) base [max_read_pool_size]; }
+                       set { base [max_read_pool_size] = value; }
+               }
+
+               [ConfigurationProperty ("maxWritePoolSize",
+                        Options = ConfigurationPropertyOptions.None,
+                        DefaultValue = "16")]
+               [IntegerValidator ( MinValue = 1,
+                       MaxValue = int.MaxValue,
+                       ExcludeRange = false)]
+               public int MaxWritePoolSize {
+                       get { return (int) base [max_write_pool_size]; }
+                       set { base [max_write_pool_size] = value; }
+               }
+
+               [ConfigurationProperty ("readerQuotas",
+                        Options = ConfigurationPropertyOptions.None)]
+               public XmlDictionaryReaderQuotasElement ReaderQuotas {
+                       get { return (XmlDictionaryReaderQuotasElement) base 
[reader_quotas]; }
+               }
+
+               [ConfigurationProperty ("writeEncoding",
+                        Options = ConfigurationPropertyOptions.None,
+                        DefaultValue = "utf-8")]
+               [TypeConverter ()]
+               public Encoding WriteEncoding {
+                       get { return (Encoding) base [write_encoding]; }
+                       set { base [write_encoding] = value; }
+               }
+
+               [ConfigurationProperty ("webContentTypeMapperType",
+                        Options = ConfigurationPropertyOptions.None,
+                        DefaultValue = "")]
+               [StringValidator ( MinLength = 0,
+                       MaxLength = int.MaxValue)]
+               public string WebContentTypeMapperType {
+                       get { return (string) base 
[web_content_type_mapper_type]; }
+                       set { base [web_content_type_mapper_type] = value; }
+               }
+
+
+       }
+
+}


Property changes on: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebMessageEncodingElement.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebScriptEnablingElement.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebScriptEnablingElement.cs
     2008-02-16 13:33:02 UTC (rev 95867)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebScriptEnablingElement.cs
     2008-02-16 13:54:04 UTC (rev 95868)
@@ -0,0 +1,82 @@
+//
+// WebScriptEnablingElement.cs
+//
+// Author:
+//     Atsushi Enomoto <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2008 Novell, Inc.  http://www.novell.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.ComponentModel;
+using System.Configuration;
+using System.Net;
+using System.Net.Security;
+using System.Reflection;
+using System.ServiceModel;
+using System.ServiceModel.Channels;
+using System.ServiceModel.Description;
+using System.ServiceModel.Diagnostics;
+using System.ServiceModel.Dispatcher;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Xml;
+
+namespace System.ServiceModel.Configuration
+{
+       public sealed partial class WebScriptEnablingElement
+                : BehaviorExtensionElement
+       {
+               // Static Fields
+               static ConfigurationPropertyCollection properties;
+               static ConfigurationProperty behavior_type;
+
+               static WebScriptEnablingElement ()
+               {
+                       properties = new ConfigurationPropertyCollection ();
+                       behavior_type = new ConfigurationProperty ("",
+                               typeof (Type), null, new TypeConverter (), null,
+                               ConfigurationPropertyOptions.None);
+
+                       properties.Add (behavior_type);
+               }
+
+               public WebScriptEnablingElement ()
+               {
+               }
+
+               // Properties
+
+               public override Type BehaviorType {
+                       get { return (Type) base [behavior_type]; }
+               }
+
+               protected override object CreateBehavior ()
+               {
+                       return new WebScriptEnablingBehavior ();
+               }
+       }
+
+}


Property changes on: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Configuration/WebScriptEnablingElement.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web.dll.sources
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web.dll.sources   
    2008-02-16 13:33:02 UTC (rev 95867)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web.dll.sources   
    2008-02-16 13:54:04 UTC (rev 95868)
@@ -19,6 +19,12 @@
 System.ServiceModel.Channels/WebMessageEncoder.cs
 System.ServiceModel.Channels/WebMessageEncoderFactory.cs
 System.ServiceModel.Channels/WebMessageEncodingBindingElement.cs
+System.ServiceModel.Configuration/WebHttpBindingCollectionElement.cs
+System.ServiceModel.Configuration/WebHttpBindingElement.cs
+System.ServiceModel.Configuration/WebHttpElement.cs
+System.ServiceModel.Configuration/WebHttpSecurityElement.cs
+System.ServiceModel.Configuration/WebMessageEncodingElement.cs
+System.ServiceModel.Configuration/WebScriptEnablingElement.cs
 System.ServiceModel.Description/WebHttpBehavior.cs
 System.ServiceModel.Description/WebScriptEnablingBehavior.cs
 System.ServiceModel.Dispatcher/JsonQueryStringConverter.cs

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to