Пример #1
0
        public RazorView(Modules.IModuleFactory moduleFactory, Modules.IModuleCatalogService moduleCatalog,
					Pages.Providers.IPageProviderService pageProviderService)
        {
            _moduleCatalog = moduleCatalog;
            _moduleFactory = moduleFactory;
            _pageProviderService = pageProviderService;
        }
Пример #2
0
        public XrcWebViewPageExtension(WebViewPage page)
        {
            _xrcContext = (IContext)page.ViewData[VIEWDATA_XRCCONTEXT];
            _moduleFactory = (Modules.IModuleFactory)page.ViewData[VIEWDATA_IMODULEFACTORY];
            _moduleCatalog = (Modules.IModuleCatalogService)page.ViewData[VIEWDATA_IMODULECATALOGSERVICE];

            LoadModulesAndParameters(page);
        }