コード例 #1
0
        public IDomainRepositoryQueryContext <PageRenderSummary> AsRenderSummary(int pageVersionId)
        {
            var query = new GetPageRenderSummaryByIdQuery(_pageId, PublishStatusQuery.SpecificVersion);

            query.PageVersionId = pageVersionId;

            return(DomainRepositoryQueryContextFactory.Create(query, ExtendableContentRepository));
        }
コード例 #2
0
        public IDomainRepositoryQueryContext <PageRenderSummary> AsRenderSummary(PublishStatusQuery publishStatus)
        {
            var query = new GetPageRenderSummaryByIdQuery(_pageId, publishStatus);

            return(DomainRepositoryQueryContextFactory.Create(query, ExtendableContentRepository));
        }