Fix LocalClientSecuritySettingsElement.Property, and other couple of API fixes.
[mono.git] / mcs / class / System.ServiceModel / System.ServiceModel.Configuration / ChannelPoolSettingsElement.cs
index 60666ee715d597bd91edf773cebe07e5617790d1..617e77fd966ba9fd2b8c91c2f53c6f490bf9039a 100644 (file)
@@ -66,6 +66,7 @@ namespace System.ServiceModel.Configuration
                [ConfigurationProperty ("idleTimeout",
                         DefaultValue = "00:02:00",
                         Options = ConfigurationPropertyOptions.None)]
+               [TypeConverter (typeof (TimeSpanConverter))]
                public TimeSpan IdleTimeout {
                        get { return (TimeSpan) base ["idleTimeout"]; }
                        set { base ["idleTimeout"] = value; }
@@ -74,6 +75,7 @@ namespace System.ServiceModel.Configuration
                [ConfigurationProperty ("leaseTimeout",
                         DefaultValue = "00:10:00",
                         Options = ConfigurationPropertyOptions.None)]
+               [TypeConverter (typeof (TimeSpanConverter))]
                public TimeSpan LeaseTimeout {
                        get { return (TimeSpan) base ["leaseTimeout"]; }
                        set { base ["leaseTimeout"] = value; }