public HackService(IContextRepository contextRepository,
                    ILogRepository logRepository, IRenderingRepository renderingRepository)
 {
     _contextRepository   = contextRepository;
     _logRepository       = logRepository;
     _renderingRepository = renderingRepository;
 }
示例#2
0
 public HeroService(IRenderingRepository renderingRepository, IContentRepository contentRepository,
                    IContextRepository contextRepository)
 {
     _renderingRepository = renderingRepository;
     _contentRepository   = contentRepository;
     _contextRepository   = contextRepository;
 }
 public BlogController(IRenderingRepository renderingRepository, IQuoteService quoteService, ISearchContextManager searchContextManager,
                       IConverter <IBlog, BlogDetailViewModel> blogDetailViewModelConverter, IConverter <IBlog, BlogViewModel> blogViewModelConverter)
 {
     _renderingRepository          = renderingRepository;
     _quoteService                 = quoteService;
     _searchContextManager         = searchContextManager;
     _blogDetailViewModelConverter = blogDetailViewModelConverter;
     _blogViewModelConverter       = blogViewModelConverter;
 }
 public CommentController(IRenderingRepository renderingRepository, ICommentService commentService, IDictionaryPhraseRepository dictionaryPhraseRepository)
 {
     _renderingRepository        = renderingRepository;
     _commentService             = commentService;
     _dictionaryPhraseRepository = dictionaryPhraseRepository;
 }
示例#5
0
 public MediaRepository(IMvcContext context, ILogRepository logRepository, IRenderingRepository renderingRepository)
 {
     _context             = context;
     _logRepository       = logRepository;
     _renderingRepository = renderingRepository;
 }
示例#6
0
 /// <summary>
 /// Initializes a new instance.
 /// </summary>
 public TeamsController(IContextRepository contextRepository, IRenderingRepository renderingRepository, ITeamsRepository teamsRepository)
 {
     this.contextRepository   = contextRepository;
     this.renderingRepository = renderingRepository;
     this.teamsRepository     = teamsRepository;
 }
示例#7
0
 public StandardContentController(IContextRepository contextRepository, IRenderingRepository renderingRepository)
 {
     this.contextRepository   = contextRepository;
     this.renderingRepository = renderingRepository;
 }
示例#8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FaqController"/> class.
 /// </summary>
 /// <param name="contextRepository">Context repository.</param>
 /// <param name="contentRepository">Content repository.</param>
 /// <param name="renderingRepository">Rendering repository.</param>
 public FaqController(IContextRepository contextRepository, IContentRepository contentRepository, IRenderingRepository renderingRepository)
 {
     this.contextRepository   = contextRepository;
     this.contentRepository   = contentRepository;
     this.renderingRepository = renderingRepository;
 }