+ public static Type DefaultApplicationBaseType {
+ get { return defaultApplicationBaseType; }
+ set {
+ BuildManager.AssertPreStartMethodsRunning ();
+ if (value != null && !typeof (HttpApplication).IsAssignableFrom (value))
+ throw new ArgumentException (String.Format ("The value assigned to property '{0}' is invalid.", "DefaultApplicationBaseType"));
+ defaultApplicationBaseType = value;
+ }
+ }
+
+ public static Type DefaultPageParserFilterType {
+ get { return defaultPageParserFilterType; }
+ set {
+ BuildManager.AssertPreStartMethodsRunning ();
+ if (value != null && !typeof (PageParserFilter).IsAssignableFrom (value))
+ throw new ArgumentException (String.Format ("The value assigned to property '{0}' is invalid.", "DefaultPageParserFilterType"));
+ defaultPageParserFilterType = value;
+ }
+ }
+
+ public static Type DefaultUserControlBaseType {
+ get { return defaultUserControlBaseType; }
+ set {
+ if (value != null && !typeof (UserControl).IsAssignableFrom (value))
+ throw new ArgumentException (String.Format ("The value assigned to property '{0}' is invalid.", "DefaultUserControlBaseType"));
+ BuildManager.AssertPreStartMethodsRunning ();
+ defaultUserControlBaseType = value;
+ }
+ }
+#endif