2009-06-05 Marek Habersack <mhabersack@novell.com>
[mono.git] / mcs / class / System.Web / System.Web.Configuration_2.0 / TraceSection.cs
index 0f15a24848683b8bd03b605e7574ecb5f828db44..9d46a69a1e3999c98c22464959bf9f92d8f1ac80 100644 (file)
@@ -58,7 +58,9 @@ namespace System.Web.Configuration {
                                                                      TypeDescriptor.GetConverter (typeof (int)),
                                                                      PropertyHelper.IntFromZeroToMaxValidator,
                                                                      ConfigurationPropertyOptions.None);
-                       traceModeProp = new ConfigurationProperty ("traceMode", typeof (TraceDisplayMode), TraceDisplayMode.SortByTime);
+                       traceModeProp = new ConfigurationProperty ("traceMode", typeof (TraceDisplayMode), TraceDisplayMode.SortByTime,
+                                                                  new GenericEnumConverter (typeof (TraceDisplayMode)), null,
+                                                                  ConfigurationPropertyOptions.None);
                        writeToDiagnosticsTraceProp = new ConfigurationProperty ("writeToDiagnosticsTrace", typeof (bool), false);
                        properties = new ConfigurationPropertyCollection ();