public IssueChildrenService(IIssueService issueService, IIssueRepository issueRepository, IAuthorizationService authorizationService,
                             IHttpContextAccessor httpContextAccessor, IProjectRepository projectRepository, IIssueHelper issueHelper)
 {
     _issueService         = issueService;
     _issueRepository      = issueRepository;
     _authorizationService = authorizationService;
     _httpContextAccessor  = httpContextAccessor;
     _projectRepository    = projectRepository;
     _issueHelper          = issueHelper;
 }
 public IssueParentService(IIssueService issueService, IIssueRepository issueRepository, IAuthorizationService authorizationService,
                           IHttpContextAccessor httpContextAccessor, IStateService stateService, IIssueHelper _issueHelper)
 {
     _issueService         = issueService;
     _issueRepository      = issueRepository;
     _authorizationService = authorizationService;
     _httpContextAccessor  = httpContextAccessor;
     _stateService         = stateService;
     this._issueHelper     = _issueHelper;
 }
예제 #3
0
        public IssueStateService(IIssueRepository issueRepository, IStateService stateService, IIssueHelper _issueHelper)
        {
            _issueRepository    = issueRepository;
            _stateService       = stateService;
            this._issueHelper   = _issueHelper;
            _updateStateHandler = new FsmHandler(issueRepository);

            RegisterFsmEvents();
            RegisterPossibleUsergeneratedStates();
        }
예제 #4
0
 public IssuePredecessorService(IIssueRepository issueRepo, IIssueService issueService, IHttpContextAccessor httpContextAccessor,
                                IIssueHelper _issueHelper, IStateService stateService, IProjectRepository projectRepository,
                                IAuthorizationService authorizationService)
 {
     _issueRepo            = issueRepo;
     _httpContextAccessor  = httpContextAccessor;
     this._issueHelper     = _issueHelper;
     _stateService         = stateService;
     _projectRepository    = projectRepository;
     _authorizationService = authorizationService;
     _issueService         = issueService;
 }