コード例 #1
0
        public HomeController(
            IStringLocalizer stringLocalizer,
            IHtmlLocalizer localizer,
            IEntityReplyStore <IdeaComment> entityReplyStore,
            IEntityHistoryManager <EntityHistory> entityHistoryManager,
            IEntityHistoryStore <EntityHistory> entityHistoryStore,
            IEntityReplyManager <IdeaComment> entityReplyManager,
            IAuthorizationService authorizationService,
            IInlineDiffBuilder inlineDiffBuilder,
            IEntityManager <Idea> entityManager,
            IEntityStore <Idea> entityStore,
            IContextFacade contextFacade,
            IAlerter alerter)
        {
            _entityHistoryManager = entityHistoryManager;
            _authorizationService = authorizationService;
            _entityReplyManager   = entityReplyManager;
            _entityHistoryStore   = entityHistoryStore;
            _inlineDiffBuilder    = inlineDiffBuilder;
            _entityReplyStore     = entityReplyStore;
            _contextFacade        = contextFacade;
            _entityManager        = entityManager;
            _entityStore          = entityStore;
            _alerter = alerter;

            T = localizer;
            S = stringLocalizer;
        }
コード例 #2
0
ファイル: EntitySubscriber.cs プロジェクト: vdandrade/Plato
 public EntitySubscriber(
     IEntityHistoryManager <EntityHistory> entityHistoryManager,
     IEntityHistoryStore <EntityHistory> entityHistoryStore,
     IEntityStore <TEntity> entityStore,
     IBroker broker)
 {
     _entityHistoryManager = entityHistoryManager;
     _entityHistoryStore   = entityHistoryStore;
     _entityStore          = entityStore;
     _broker = broker;
 }
コード例 #3
0
 public EntityReplySubscriber(
     IBroker broker,
     IEntityHistoryStore <EntityHistory> entityHistoryStore,
     IEntityHistoryManager <EntityHistory> entityHistoryManager,
     IEntityReplyStore <EntityReply> entityReplyStore)
 {
     _broker               = broker;
     _entityHistoryStore   = entityHistoryStore;
     _entityHistoryManager = entityHistoryManager;
     _entityReplyStore     = entityReplyStore;
 }