예제 #1
0
 public CreateUseCaseDiagramNewVersionCommandHandler(IRepository <UseCaseDiagram, VersionKey> useCaseDiagramRepository,
                                                     IQueryHandler <SpecificationItemWithUseCaseDiagramsQuery, SpecificationItemWithUseCaseDiagramsQueryResult> specificationItemWithUseCaseDiagramsQueryHandler,
                                                     IRepository <Package, Guid> packageRepository,
                                                     UseCaseDiagramItemsPersister useCaseDiagramItemsPersister,
                                                     IQueryHandler <UseCasesByDiagramQuery, IEnumerable <UseCase> > useCasesByDiagramQueryHandler)
 {
     _useCaseDiagramRepository     = useCaseDiagramRepository;
     _useCaseDiagramItemsPersister = useCaseDiagramItemsPersister;
     _packageRepository            = packageRepository;
     _specificationItemWithUseCaseDiagramsQueryHandler = specificationItemWithUseCaseDiagramsQueryHandler;
     _useCasesByDiagramQueryHandler = useCasesByDiagramQueryHandler;
 }
예제 #2
0
 public CreateUseCaseDiagramCommandHandler(IRepository <UseCaseDiagram, VersionKey> useCaseDiagramRepository,
                                           IRepository <SpecificationItem, Guid> specifiationItemRepository,
                                           ICurrentProjectContextId currentProjectContextId,
                                           IQueryHandler <UseCaseDiagramNextIdQuery, int> useCaseDiagramNextIdQueryHandler,
                                           IRepository <Package, Guid> packageRepository,
                                           UseCaseDiagramItemsPersister useCaseDiagramItemsPersister)
 {
     _useCaseDiagramRepository         = useCaseDiagramRepository;
     _specifiationItemRepository       = specifiationItemRepository;
     _currentProjectContextId          = currentProjectContextId;
     _useCaseDiagramNextIdQueryHandler = useCaseDiagramNextIdQueryHandler;
     _useCaseDiagramItemsPersister     = useCaseDiagramItemsPersister;
     _packageRepository = packageRepository;
 }