示例#1
0
        /// <summary>
        ///     Initializes the context checker
        /// </summary>
        /// <param name="pageModeAccess">an IPageModeAccess implementation</param>
        /// <param name="pipelineRunner">a pipeline runner</param>
        /// <param name="settings">settings</param>
        public SelectBaseLayoutContextChecker(IPageModeAccess pageModeAccess, IPipelineRunner pipelineRunner)
        {
            Assert.ArgumentNotNull(pageModeAccess, "pageModeAccess");
            Assert.ArgumentNotNull(pipelineRunner, "pipelineRunner");

            _pageModeAccess = pageModeAccess;
            _pipelineRunner = pipelineRunner;
        }
        /// <summary>
        ///     Initializes the context checker
        /// </summary>
        /// <param name="pageModeAccess">an IPageModeAccess implementation</param>
        /// <param name="pipelineRunner">a pipeline runner</param>
        /// <param name="settings">settings</param>
        public SelectBaseLayoutContextChecker(IPageModeAccess pageModeAccess, IPipelineRunner pipelineRunner)
        {
            Assert.ArgumentNotNull(pageModeAccess, "pageModeAccess");
            Assert.ArgumentNotNull(pipelineRunner, "pipelineRunner");

            _pageModeAccess = pageModeAccess;
            _pipelineRunner = pipelineRunner;
        }