コード例 #1
0
        /// <summary>
        /// Adds Links at the Root (page) level, the Unit level, and the Child level (Faction and Technologies)
        /// </summary>
        public virtual void AddLinksToInquiryResponse(PagedDataInquiryResponse<UnitPrecis> inquiryResponse)
        {
            inquiryResponse.AddLink(_unitLinkService.GetAllUnitsLink());

            _commonLinkService.AddPageLinks(inquiryResponse);
        }
コード例 #2
0
        /// <summary>
        /// Adds Links at the Root (page) level, the Building level, and the Child level (Faction and Technologies)
        /// </summary>
        public virtual void AddLinksToInquiryResponse(PagedDataInquiryResponse<BuildingPrecis> inquiryResponse)
        {
            inquiryResponse.AddLink(_buildingLinkService.GetAllBuildingsLink());

            _commonLinkService.AddPageLinks(inquiryResponse);
        }
コード例 #3
0
        /// <summary>
        /// Adds Links at the Root (page) level, the Game level, and the Child level (Faction and Technologies)
        /// </summary>
        public virtual void AddLinksToInquiryResponse(PagedDataInquiryResponse<GamePrecis> inquiryResponse)
        {
            inquiryResponse.AddLink(_gameLinkService.GetAllGamesLink());

            _commonLinkService.AddPageLinks(inquiryResponse);
        }