public void InitializeServicesWithAuthenticationType(AuthenticationType type)
 {
     if (type == AuthenticationType.Basic)
     {
         this._userService       = new UserService(AuthenticationType.Basic);
         this._issueService      = new IssueService(AuthenticationType.Basic);
         this._transitionService = new TransitionService(AuthenticationType.Basic);
         this._priorityService   = new PriorityService(AuthenticationType.Basic);
         this._attachmentService = new AttachmentService(AuthenticationType.Basic);
         this._boardService      = new BoardService(AuthenticationType.Basic);
         this._sprintService     = new SprintService(AuthenticationType.Basic);
         this._projectService    = new ProjectService(AuthenticationType.Basic);
     }
     else if (type == AuthenticationType.OAuth)
     {
         this._userService       = new UserService(AuthenticationType.OAuth);
         this._issueService      = new IssueService(AuthenticationType.OAuth);
         this._transitionService = new TransitionService(AuthenticationType.OAuth);
         this._priorityService   = new PriorityService(AuthenticationType.OAuth);
         this._attachmentService = new AttachmentService(AuthenticationType.OAuth);
         this._boardService      = new BoardService(AuthenticationType.OAuth);
         this._sprintService     = new SprintService(AuthenticationType.OAuth);
         this._projectService    = new ProjectService(AuthenticationType.OAuth);
     }
 }
Exemplo n.º 2
0
 public ReportsController(IWorkflowService workflow, ISprintService sprint, IPermissionService permission, IReportService report, IErrorHandlerService errorHandler, IJwtAuthService jwtAuth) : base(errorHandler, jwtAuth)
 {
     _workflow   = workflow;
     _sprint     = sprint;
     _permission = permission;
     _report     = report;
 }
 public ProjectsController(IProjectService projectService, IDictionaryService dictionaryService, ISprintService spirntService, ApplicationUserManager applicationUserManager)
 {
     _projectService         = projectService;
     _dictionaryService      = dictionaryService;
     _sprintService          = spirntService;
     _applicationUserManager = applicationUserManager;
 }
Exemplo n.º 4
0
 public ProjectsController(UserManager <ApplicationUser> userManager
                           , IProjectService projectService
                           , ISprintService sprintService) : base(userManager)
 {
     _projectService = projectService;
     _sprintService  = sprintService;
 }
 public SubmissionsController(ISprintService sprint, IPermissionService permission, ICommitService commit, ISubmissionService submission, IErrorHandlerService errorHandler, IJwtAuthService jwtAuth) : base(errorHandler, jwtAuth)
 {
     _sprint     = sprint;
     _permission = permission;
     _commit     = commit;
     _submission = submission;
 }
Exemplo n.º 6
0
 public ProjectsController(IProjectService projectService, IDictionaryService dictionaryService, ISprintService spirntService, ApplicationUserManager applicationUserManager)
 {
     _projectService = projectService;
     _dictionaryService = dictionaryService;
     _sprintService = spirntService;
     _applicationUserManager = applicationUserManager;
 }
Exemplo n.º 7
0
 public TasksController(IProjectRepositoryService projectRepository, IReportService report, ITaskService task, ISprintService sprint, IPermissionService permission, IErrorHandlerService errorHandler, IJwtAuthService jwtAuth) : base(errorHandler, jwtAuth)
 {
     _projectRepository = projectRepository;
     _report            = report;
     _task       = task;
     _sprint     = sprint;
     _permission = permission;
 }
 public ManagerController(ApplicationUserManager userManager, IAssignmentService assignmentService, IDictionaryService dictionaryService, ISprintService sprintService, IProjectService projectService)
 {
     this._userManager       = userManager;
     this._assignmentService = assignmentService;
     this._dictionaryService = dictionaryService;
     this._sprintService     = sprintService;
     this._projectService    = projectService;
 }
Exemplo n.º 9
0
 public ManagerController(ApplicationUserManager userManager, IAssignmentService assignmentService, IDictionaryService dictionaryService, ISprintService sprintService, IProjectService projectService)
 {
     this._userManager = userManager;
     this._assignmentService = assignmentService;
     this._dictionaryService = dictionaryService;
     this._sprintService = sprintService;
     this._projectService = projectService;
 }
 public TaskController(IProjectService projectService, IStoryService storyService, ISprintService sprintService, UserManager <ApplicationUser> userManager, RoleManager <ApplicationRole> roleManager, SignInManager <ApplicationUser> signInManager)
 {
     _sprintService  = sprintService;
     _projectService = projectService;
     _storyService   = storyService;
     _userManager    = userManager;
     _roleManager    = roleManager;
     _signInManager  = signInManager;
 }
Exemplo n.º 11
0
 public SprintsController(IGHReferenceService gHReference, IAccountService account, IGHWebhookService gHWebhook, ISprintService sprint, IPermissionService permission, IRepositoryService repository, IErrorHandlerService errorHandler, IJwtAuthService jwtAuth) : base(errorHandler, jwtAuth)
 {
     _gHReference = gHReference;
     _account     = account;
     _gHWebhook   = gHWebhook;
     _sprint      = sprint;
     _permission  = permission;
     _repository  = repository;
 }
Exemplo n.º 12
0
 public SprintController(
     ApplicationDbContext context,
     ISprintTaskService sprintTaskService,
     ISprintService sprintService)
 {
     _context           = context;
     _sprintTaskService = sprintTaskService;
     _sprintService     = sprintService;
 }
Exemplo n.º 13
0
 public MoveToSprintHandler(
     IBacklogTaskService backlogTaskService,
     ITaskService taskService,
     ISprintService sprintService)
 {
     _backlogTaskService = backlogTaskService;
     _taskService        = taskService;
     _sprintService      = sprintService;
 }
 public AdminController(IServiceProvider serviceProvider, IConfiguration configuration, IHttpContextAccessor httpContextAccessor)
 {
     _userManager         = serviceProvider.GetRequiredService <UserManager <ApplicationUser> >();
     _singInManager       = serviceProvider.GetRequiredService <SignInManager <ApplicationUser> >();
     _configuration       = configuration;
     _roleManager         = serviceProvider.GetRequiredService <RoleManager <IdentityRole> >();
     _context             = serviceProvider.GetRequiredService <ApplicationContext>();
     _httpContextAccessor = httpContextAccessor;
     _projectService      = new ProjectService(_context, _userManager);
     _taskService         = new TaskService(_context, _userManager);
     _teamService         = new TeamService(_context, _userManager);
     _sprintService       = new SprintService(_context, _userManager);
 }
Exemplo n.º 15
0
 public WorkflowsController(ICircleCIConfigurationService circleCIConfiguration, IProjectRepositoryService projectRepository, IBranchService branch, IAccountService account, ITokenService token, ICircleCIProjectService circleCIProject, IGHContentService gHContent, ISprintService sprint, IPermissionService permission, IWorkflowService workflow, IRepositoryService repository, IGHBranchService gHBranch, IErrorHandlerService errorHandler, IJwtAuthService jwtAuth) : base(errorHandler, jwtAuth)
 {
     _circleCIConfiguration = circleCIConfiguration;
     _projectRepository     = projectRepository;
     _branch          = branch;
     _account         = account;
     _token           = token;
     _circleCIProject = circleCIProject;
     _gHContent       = gHContent;
     _sprint          = sprint;
     _permission      = permission;
     _workflow        = workflow;
     _repository      = repository;
     _gHBranch        = gHBranch;
 }
Exemplo n.º 16
0
        public AdvancedSearchViewModel(IJiraToolWindowNavigatorViewModel parent, IPriorityService priorityService,
                                       IIssueService issueService, IProjectService projectService, ISprintService sprintService, IBoardService boardService)
        {
            this._parent = parent;

            this._parent.SetRefreshCommand(RefreshAdvancedSearch);

            this._priorityService = priorityService;
            this._issueService    = issueService;
            this._projectService  = projectService;
            this._sprintService   = sprintService;
            this._boardService    = boardService;

            this.PriorityList = new ObservableCollection <Priority>();
            this.StatusList   = new ObservableCollection <Status>();
            this.ProjectList  = new ObservableCollection <Project>();
            this.IssueList    = new ObservableCollection <Issue>();
            this._boardList   = new List <BoardProject>();
            this.SprintList   = new ObservableCollection <Sprint>();

            this.CheckedPriorityCommand = new DelegateCommand(CheckedPriority);
            this.CheckedStatusCommand   = new DelegateCommand(CheckedStatus);
            this.CheckedProjectCommand  = new DelegateCommand(CheckedProject);
            this.CheckedSprintCommand   = new DelegateCommand(CheckedSprint);

            this.EditProjectsCommand       = new DelegateCommand(EditProjects);
            this.CancelEditProjectsCommand = new DelegateCommand(CancelEditProjects);

            this.EditSprintsCommand       = new DelegateCommand(EditSprints);
            this.CancelEditSprintsCommand = new DelegateCommand(CancelEditSprints);

            this.EditPrioritiesCommand       = new DelegateCommand(EditPriorities);
            this.CancelEditPrioritiesCommand = new DelegateCommand(CancelEditPriorities);

            this.EditStatusesCommand       = new DelegateCommand(EditStatuses);
            this.CancelEditStatusesCommand = new DelegateCommand(CancelEditStatuses);

            this.ClearFiltersCommand = new DelegateCommand(ClearFilters);

            GetIssuesAsync();
            GetPrioritiesAsync();
            GetStatusesAsync();
            GetProjectsAsync();
            GetBoardsAsync();
        }
Exemplo n.º 17
0
 public UpdateSprintHandler(
     ISprintService sprintService)
 {
     _sprintService = sprintService;
 }
 public SprintBacklogHub(ISprintService service, IBacklogServices backlogService)
 {
     _service        = service;
     _backlogService = backlogService;
 }
Exemplo n.º 19
0
 public GetSprintsByProjectHandler(
     ISprintService sprintService)
 {
     _sprintService = sprintService;
 }
Exemplo n.º 20
0
 public GetSprintsByIdHandler(
     ISprintService sprintService)
 {
     _sprintService = sprintService;
 }
Exemplo n.º 21
0
 public SprintReportController(SprintReportService service)
 {
     this.service = service;
 }
 public StoryController(IStoryService storyService, ISprintService sprintService)
 {
     _storyService  = storyService;
     _sprintService = sprintService;
 }
Exemplo n.º 23
0
 public SprintsController(UserManager <ApplicationUser> userManager
                          , ISprintService sprintService) : base(userManager)
 {
     _sprintService = sprintService;
 }
Exemplo n.º 24
0
 public SprintController(ISprintService sprintService, IMapper mapper)
 {
     _sprintService = sprintService;
     _mapper        = mapper;
 }
 public SprintController(DbContextOptions <ScrumbanContext> options)
 {
     _sprintService = new SprintService(options);
 }
Exemplo n.º 26
0
 public SprintsController(IUnitOfWork unitOfWork, ISprintService sprintService)
 {
     _unitOfWork    = unitOfWork;
     _sprintService = sprintService;
     _sprintService.Initialize(new ValidationDictionaryMvc(ModelState));
 }
Exemplo n.º 27
0
 public AddSprintHandler(
     ISprintService sprintService)
 {
     _sprintService = sprintService;
 }
Exemplo n.º 28
0
        public AdvancedSearchView(IJiraToolWindowNavigatorViewModel parent, IPriorityService priorityService,
                                  IIssueService issueService, IProjectService projectService, ISprintService sprintService, IBoardService boardService)
        {
            InitializeComponent();

            this._viewModel = new AdvancedSearchViewModel(parent, priorityService, issueService, projectService,
                                                          sprintService, boardService);
            this.DataContext = this._viewModel;
        }
Exemplo n.º 29
0
        public IssueListView(JiraToolWindowNavigatorViewModel parent, IIssueService issueService, ISprintService sprintService, bool quickSearch, string filter)
        {
            InitializeComponent();

            this._viewModel  = new IssueListViewModel(parent, issueService, quickSearch, filter);
            this.DataContext = this._viewModel;
        }
 public SprintController(ISprintService sprintService)
 {
     _sprintService = sprintService;
 }
Exemplo n.º 31
0
 public FinishSprintHandler(
     ISprintService sprintService)
 {
     _sprintService = sprintService;
 }
Exemplo n.º 32
0
 public SprintController(ISprintService userSprintService,
                         IMapper mapper)
 {
     _userSprintService = userSprintService;
     _mapper            = mapper;
 }