Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System.Web/System.Web.Configuration_2.0/SessionStateSection.cs')
-rw-r--r--mcs/class/System.Web/System.Web.Configuration_2.0/SessionStateSection.cs11
1 files changed, 3 insertions, 8 deletions
diff --git a/mcs/class/System.Web/System.Web.Configuration_2.0/SessionStateSection.cs b/mcs/class/System.Web/System.Web.Configuration_2.0/SessionStateSection.cs
index b0d9d2b0958..c46285128e5 100644
--- a/mcs/class/System.Web/System.Web.Configuration_2.0/SessionStateSection.cs
+++ b/mcs/class/System.Web/System.Web.Configuration_2.0/SessionStateSection.cs
@@ -64,17 +64,12 @@ namespace System.Web.Configuration {
cookielessProp = new ConfigurationProperty ("cookieless", typeof (string), null);
cookieNameProp = new ConfigurationProperty ("cookieName", typeof (string), "ASP.NET_SessionId");
customProviderProp = new ConfigurationProperty ("customProvider", typeof (string), "");
- modeProp = new ConfigurationProperty ("mode", typeof (SessionStateMode), SessionStateMode.InProc,
- new GenericEnumConverter (typeof (SessionStateMode)), null,
- ConfigurationPropertyOptions.None);
+ modeProp = new ConfigurationProperty ("mode", typeof (SessionStateMode), SessionStateMode.InProc);
partitionResolverTypeProp = new ConfigurationProperty ("partitionResolverType", typeof (string), "");
- providersProp = new ConfigurationProperty ("providers", typeof (ProviderSettingsCollection), null,
- null, null, ConfigurationPropertyOptions.None);
+ providersProp = new ConfigurationProperty ("providers", typeof (ProviderSettingsCollection));
regenerateExpiredSessionIdProp = new ConfigurationProperty ("regenerateExpiredSessionId", typeof (bool), true);
sessionIDManagerTypeProp = new ConfigurationProperty ("sessionIDManagerType", typeof (string), "");
- sqlCommandTimeoutProp = new ConfigurationProperty ("sqlCommandTimeout", typeof (TimeSpan), TimeSpan.FromSeconds (30),
- PropertyHelper.TimeSpanSecondsOrInfiniteConverter, null,
- ConfigurationPropertyOptions.None);
+ sqlCommandTimeoutProp = new ConfigurationProperty ("sqlCommandTimeout", typeof (TimeSpan), TimeSpan.FromSeconds (30));
sqlConnectionStringProp = new ConfigurationProperty ("sqlConnectionString", typeof (string), "data source=localhost;Integrated Security=SSPI");
stateConnectionStringProp = new ConfigurationProperty ("stateConnectionString", typeof (string), "tcpip=loopback:42424");
stateNetworkTimeoutProp = new ConfigurationProperty ("stateNetworkTimeout", typeof (TimeSpan), TimeSpan.FromSeconds (10),