2 // System.Web.Configuration.PagesSection
5 // Chris Toshok (toshok@ximian.com)
7 // (C) 2005 Novell, Inc (http://www.novell.com)
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34 using System.ComponentModel;
35 using System.Configuration;
39 namespace System.Web.Configuration
41 public class PagesSection: InternalSection
43 static ConfigurationPropertyCollection properties;
44 static ConfigurationProperty asyncTimeoutProp;
45 static ConfigurationProperty autoEventWireupProp;
46 static ConfigurationProperty bufferProp;
47 static ConfigurationProperty modeProp;
49 static PagesSection ()
51 properties = new ConfigurationPropertyCollection ();
52 asyncTimeoutProp = new ConfigurationProperty ("asyncTimeout", typeof(TimeSpan), null);
53 autoEventWireupProp = new ConfigurationProperty ("autoEventWireup", typeof(bool), true);
54 bufferProp = new ConfigurationProperty ("buffer", typeof(bool), false);
55 modeProp = new ConfigurationProperty ("compilationMode", typeof (CompilationMode), CompilationMode.Always);
58 public PagesSection ()
62 [TimeSpanValidator (MinValueString = "00:00:00",
63 MaxValueString = "10675199.02:48:05.4775807")]
64 [TypeConverter (typeof (TimeSpanSecondsConverter))]
65 [ConfigurationProperty ("asyncTimeout", DefaultValue = "00:00:45")]
66 public TimeSpan AsyncTimeout {
67 get { return (TimeSpan) base [asyncTimeoutProp]; }
68 set { base [asyncTimeoutProp] = value; }
71 [ConfigurationProperty ("autoEventWireup", DefaultValue = true)]
72 public bool AutoEventWireup {
73 get { return (bool) base [autoEventWireupProp]; }
74 set { base [autoEventWireupProp] = value; }
77 [ConfigurationProperty ("buffer", DefaultValue = true)]
79 get { return (bool) base [bufferProp]; }
80 set { base [bufferProp] = value; }
83 [ConfigurationProperty ("compilationMode", DefaultValue = CompilationMode.Always)]
84 public CompilationMode CompilationMode {
85 get { return (CompilationMode) base [modeProp]; }
86 set { base [modeProp] = value; }
91 public TagPrefixCollection Controls {
93 throw new NotImplementedException ();
99 [ConfigurationProperty ("enableSessionState", DefaultValue = true)]
100 public PagesEnableSessionState EnableSessionState {
102 throw new NotImplementedException ();
105 throw new NotImplementedException ();
110 [ConfigurationProperty ("enableViewState", DefaultValue = true)]
111 public bool EnableViewState {
113 throw new NotImplementedException ();
116 throw new NotImplementedException ();
121 [ConfigurationProperty ("enableViewStateMac", DefaultValue = true)]
122 public bool EnableViewStateMac {
124 throw new NotImplementedException ();
127 throw new NotImplementedException ();
132 [ConfigurationProperty ("maintainScrollPositionOnPostBack", DefaultValue = false)]
133 public bool MaintainScrollPositionOnPostBack {
135 throw new NotImplementedException ();
138 throw new NotImplementedException ();
143 [ConfigurationProperty ("masterPageFile", DefaultValue = "")]
144 public string MasterPageFile {
146 throw new NotImplementedException ();
149 throw new NotImplementedException ();
154 [ConfigurationProperty ("maxPageStateFieldLength", DefaultValue = -1)]
155 public int MaxPageStateFieldLength {
157 throw new NotImplementedException ();
160 throw new NotImplementedException ();
166 [ConfigurationProperty ("namespaces")]
167 public NamespaceCollection Namespaces {
169 throw new NotImplementedException ();
175 [ConfigurationProperty ("pageBaseType", DefaultValue = "System.Web.UI.Page")]
176 public string PageBaseType {
178 throw new NotImplementedException ();
181 throw new NotImplementedException ();
186 [ConfigurationProperty ("pageParserFilterType", DefaultValue = "")]
187 public string PageParserFilterType {
189 throw new NotImplementedException ();
192 throw new NotImplementedException ();
197 protected override ConfigurationPropertyCollection Properties {
199 throw new NotImplementedException ();
204 [ConfigurationProperty ("smartNavigation", DefaultValue = false)]
205 public bool SmartNavigation {
207 throw new NotImplementedException ();
210 throw new NotImplementedException ();
215 [ConfigurationProperty ("styleSheetTheme", DefaultValue = "")]
216 public string StyleSheetTheme {
218 throw new NotImplementedException ();
221 throw new NotImplementedException ();
227 [ConfigurationProperty ("tagMapping")]
228 public TagMapCollection TagMapping {
230 throw new NotImplementedException ();
236 [ConfigurationProperty ("theme", DefaultValue = "")]
237 public string Theme {
239 throw new NotImplementedException ();
242 throw new NotImplementedException ();
247 [ConfigurationProperty ("userControlBaseType", DefaultValue = "System.Web.UI.UserControl")]
248 public string UserControlBaseType {
250 throw new NotImplementedException ();
253 throw new NotImplementedException ();
258 [ConfigurationProperty ("validateRequest", DefaultValue = true)]
259 public bool ValidateRequest {
261 throw new NotImplementedException ();
264 throw new NotImplementedException ();
270 [ConfigurationProperty ("viewStateEncryptionMode", DefaultValue = ViewStateEncryptionMode.Auto)]
271 public ViewStateEncryptionMode ViewStateEncryptionMode {
273 throw new NotImplementedException ();
276 throw new NotImplementedException ();
282 protected override void DeserializeSection (XmlReader reader)
284 throw new NotImplementedException ();