예제 #1
0
 public void Init()
 {
     _processor = base.Get <ICommandProcessor>();
     _articleMessageQueryService      = base.Get <IArticleMessageQueryService>();
     _articleMessageDbProxyRepository = base.Get <IDbProxyRepository <ArticleMessage> >();
     _articleDbProxyRepository        = base.Get <IArticleQueryService>();
 }
 public ArticleApplicationService(ArticleDomainService articleDomainService, IArticleRepository articleRepository, IArticleQueryService articleQueryService, IIntegrationEventBus integrationEventBus)
 {
     this._articleDomainService = articleDomainService;
     this._articleRepository    = articleRepository;
     this._articleQueryService  = articleQueryService;
     this._integrationEventBus  = integrationEventBus;
 }
예제 #3
0
 public ArticleApplicationService(ArticleDomainService articleDomainService,
                                  IArticleQueryService articleQueryService,
                                  IIntegrationEventBus integrationEventBus,
                                  ArticleCategoryDomainService articleCategoryDomainService,
                                  ICategoryQueryService categoryQueryService)
 {
     _articleDomainService         = articleDomainService;
     _articleQueryService          = articleQueryService;
     _integrationEventBus          = integrationEventBus;
     _articleCategoryDomainService = articleCategoryDomainService;
     _categoryQueryService         = categoryQueryService;
 }
예제 #4
0
        public ArticleViewModel(
            INewArticleViewModel newArticle,
            IArticleQueryService articleService,
            IEventAggregator eventAggregator,
            IWindowManager windowManager)
        {
            this.NewArticle      = newArticle;
            this.WindowManager   = windowManager;
            this.articleService  = articleService;
            this.eventAggregator = eventAggregator;

            this.eventAggregator.Subscribe(this);
        }
예제 #5
0
 public BlogController(
     IArticleTypeQueryService articleTypeQueryService,
     IArticleQueryService articleQueryService,
     IArticleTagQueryService articleTagQueryService,
     ICommandProcessor processor,
     IUserTourLogQueryService userTourLogQueryService,
     IArticleMessageQueryService articleMessageQueryService,
     ILinkQueryService linkQueryService,
     IProjectTypeQueryService projectTypeQueryService,
     IProjectQueryService projectQueryService, ILinkTypeQueryService linkTypeQueryService)
 {
     _articleTypeQueryService = articleTypeQueryService;
     _articleQueryService     = articleQueryService;
     _articleTagQueryService  = articleTagQueryService;
     _processor = processor;
     _userTourLogQueryService    = userTourLogQueryService;
     _articleMessageQueryService = articleMessageQueryService;
     _linkQueryService           = linkQueryService;
     _projectTypeQueryService    = projectTypeQueryService;
     _projectQueryService        = projectQueryService;
     _linkTypeQueryService       = linkTypeQueryService;
 }
 public ArticleController(IArticleQueryService queryService,
                          IArticleService service)
 {
     _queryService = queryService;
     _service      = service;
 }