Ejemplo n.º 1
0
        public object Create(object parent, object configContext, XmlNode section)
        {
            WebPagesConfiguration config = new WebPagesConfiguration();

            config.PageConfig = DeserializePageConfig(section);
            return(config);
        }
Ejemplo n.º 2
0
 static WebPagesConfiguration()
 {
     Global = ConfigurationManager.GetSection("codeArt.web.pages") as WebPagesConfiguration;
     if (Global == null)
     {
         Global = new WebPagesConfiguration();
     }
 }