Пример #1
0
        // </2sic>

        #endregion

        #region BaseClass Overrides

        protected override void ConfigurePage(WebPageBase parentPage)
        {
            base.ConfigurePage(parentPage);

            // Child pages need to get their context from the Parent
            Context = parentPage.Context;

            // Return if parent page is not a SexyContentWebPage
            if (parentPage.GetType().BaseType != typeof(SexyContentWebPage))
            {
                return;
            }

            Html = ((SexyContentWebPage)parentPage).Html;
            Url  = ((SexyContentWebPage)parentPage).Url;
            AppAndDataHelpers = ((SexyContentWebPage)parentPage).AppAndDataHelpers;
        }