コード例 #1
0
        public RSSFeedManagementService(IRSSFeedRepository rSSFeedRepository, IChannelsSlideRepository channelsSlideRepository, ISlideRepository slideRepository, ISlideFolderRepository slideFolderRepository)
        {
            Check.Require(rSSFeedRepository != null, "rSSFeedRepository may not be null");
            this.rSSFeedRepository = rSSFeedRepository;

            Check.Require(channelsSlideRepository != null, "channelsSlideRepository may not be null");
            this.channelsSlideRepository = channelsSlideRepository;

            Check.Require(slideRepository != null, "channelsSlideRepository may not be null");
            this.slideRepository = slideRepository;

            Check.Require(slideFolderRepository != null, "channelsSlideRepository may not be null");
            this.slideFolderRepository = slideFolderRepository;
        }
コード例 #2
0
        public ChannelsSlideManagementService(IChannelsSlideRepository channelsSlideRepository)
        {
            Check.Require(channelsSlideRepository != null, "channelsSlideRepository may not be null");

            this.channelsSlideRepository = channelsSlideRepository;
        }