protected override void OnInit(EventArgs e) { _NavigationLoader = new ContentProxyProvider(); _LegacyNavigationBuilder = new LegacyNavigationBuilder(); base.OnInit(e); }
protected void Page_Init() { NavigationLoader = new ContentProxyProvider(); LegacyNavigationBuilder = new LegacyNavigationBuilder(); Global = (IGlobalContext)Context.ApplicationInstance; IsMyHerbalife3Enabled = Global.CultureConfiguration.DefaultExperienceType != ExperienceType.Brown; }