Go to the documentation of this file.00001 using System;
00002 using System.Collections.Generic;
00003 using System.Text;
00004 using System.Configuration;
00005
00006 namespace N2.Configuration
00007 {
00012 public class HostSection : ConfigurationSectionBase
00013 {
00014 [ConfigurationProperty("rootID", DefaultValue = 1)]
00015 public int RootID
00016 {
00017 get { return (int)base["rootID"]; }
00018 set { base["rootID"] = value; }
00019 }
00020
00021 [ConfigurationProperty("startPageID", DefaultValue = 1)]
00022 public int StartPageID
00023 {
00024 get { return (int)base["startPageID"]; }
00025 set { base["startPageID"] = value; }
00026 }
00027
00028 [ConfigurationProperty("serverAddress")]
00029 public string ServerAddress
00030 {
00031 get { return (string)base["serverAddress"]; }
00032 set { base["serverAddress"] = value; }
00033 }
00034
00036 [ConfigurationProperty("multipleSites", DefaultValue = false)]
00037 public bool MultipleSites
00038 {
00039 get { return (bool)base["multipleSites"]; }
00040 set { base["multipleSites"] = value; }
00041 }
00042
00044 [ConfigurationProperty("dynamicSites", DefaultValue = true)]
00045 public bool DynamicSites
00046 {
00047 get { return (bool)base["dynamicSites"]; }
00048 set { base["dynamicSites"] = value; }
00049 }
00050
00052 [ConfigurationProperty("wildcards", DefaultValue = false)]
00053 public bool Wildcards
00054 {
00055 get { return (bool)base["wildcards"]; }
00056 set { base["wildcards"] = value; }
00057 }
00058
00059 [ConfigurationProperty("sites")]
00060 public SiteElementCollection Sites
00061 {
00062 get { return (SiteElementCollection)base["sites"]; }
00063 set { base["sites"] = value; }
00064 }
00065
00066 [ConfigurationProperty("web")]
00067 public WebElement Web
00068 {
00069 get { return (WebElement)base["web"]; }
00070 set { base["web"] = value; }
00071 }
00072
00074 [ConfigurationProperty("outputCache")]
00075 public OutputCacheElement OutputCache
00076 {
00077 get { return (OutputCacheElement)base["outputCache"]; }
00078 }
00079 }
00080 }