public LocaleHelper() { _cs = (AwsConfigSection)System.Configuration.ConfigurationManager.GetSection( LOCALES_NAME ); _siteMap = (System.Web.Configuration.SiteMapSection)System.Configuration.ConfigurationManager.GetSection( "system.web/siteMap" ); }
public void Defaults () { SiteMapSection s = new SiteMapSection (); Assert.IsTrue (s.Enabled, "A1"); Assert.AreEqual ("AspNetXmlSiteMapProvider", s.DefaultProvider, "A2"); }