コード例 #1
0
 public ProjectAppService(
     IRepository <Bug> bugRepository,
     IRepository <Epic> epicRepository,
     IReportsProvider powerBiProvider,
     IRepository <ALM.Task> taskRepository,
     IRepository <Project> projectRepository,
     IRepository <Feature> featureRepository,
     IRepository <Assignee> assigneeRepository,
     IRepository <UserStory> userStoryRepository,
     IRepository <Iteration> iterationRepository,
     IRepository <ProjectDetail> projectDetailsRepository,
     IIocResolver iocResolver,
     IConfiguration configuration)
     : base(projectRepository)
 {
     this.bugRepository            = bugRepository;
     this.epicRepository           = epicRepository;
     this.powerBiProvider          = powerBiProvider;
     this.taskRepository           = taskRepository;
     this.featureRepository        = featureRepository;
     this.projectRepository        = projectRepository;
     this.assigneeRepository       = assigneeRepository;
     this.userStoryRepository      = userStoryRepository;
     this.iterationRepository      = iterationRepository;
     this.projectDetailsRepository = projectDetailsRepository;
     reservedWords            = configuration["Configurations:reservedWords"].Split(',').ToList();
     invalidSpecialCharacters = configuration["Configurations:invalidSpecialCharacters"];
     endsWithRestrictions     = configuration["Configurations:endsWithRestrictions"].Split(',').ToList();
     startsWithRestrictions   = configuration["Configurations:startsWithRestrictions"].Split(',').ToList();
     this.iocResolver         = iocResolver;
 }
コード例 #2
0
 public ReportAppService(
     IRepository <Report, string> repository,
     IReportsProvider reportsProvider,
     IRepository <Project> projectrepository)
 {
     this.reportrepository  = repository;
     this.reportsProvider   = reportsProvider;
     this.projectrepository = projectrepository;
 }
コード例 #3
0
        //private readonly IRepository<UserFavorite, int> userfavoriterepository;

        public DashboardAppService(
            IRepository <Dashboard, string> repository,
            IReportsProvider reportsProvider)
        //IRepository<UserFavorite, int> userfavoriterepository)
        {
            this.repository      = repository;
            this.reportsProvider = reportsProvider;
            //this.userfavoriterepository = userfavoriterepository;
        }
コード例 #4
0
            protected ReportsProviderTest()
            {
                Api.Projects.Returns(ProjectsApi);
                Api.ProjectsSummary.Returns(ProjectsSummaryApi);

                Database.Projects.Returns(ProjectsRepository);

                ReportsProvider = new ReportsProvider(Api, Database);
            }
コード例 #5
0
 public InsertDataFromPowerBiRestApiIntoDatabaseJob(IUnitOfWorkManager unitOfWorkManager, IReportsProvider powerBIProvider, IRepository <Workspace, string> workspaceRepository, IRepository <Reports.Report, string> reportRepository, IRepository <Project, int> projectRepository, IRepository <Reports.Dashboard, string> dashboardRepository)
 {
     Id = "InsertDataFromPowerBiRestApiIntoDatabaseJob";
     this.powerBIProvider     = powerBIProvider;
     this.workspaceRepository = workspaceRepository;
     this.reportRepository    = reportRepository;
     this.projectRepository   = projectRepository;
     this.dashboardRepository = dashboardRepository;
     this._unitOfWorkManager  = unitOfWorkManager;
 }
コード例 #6
0
        public DealershipEngine(ICommandHandler commandHandler, ICommandFactory commandFactory, IInputOutputProvider inputOutputProvider,
                                IReportsProvider reportsProvider)
        {
            Guard.WhenArgument(commandHandler, "commandHandler").IsNull().Throw();
            Guard.WhenArgument(inputOutputProvider, "inputOutputProvider").IsNull().Throw();
            Guard.WhenArgument(commandFactory, "commandFactory").IsNull().Throw();
            Guard.WhenArgument(reportsProvider, "reportsProvider").IsNull().Throw();

            this.commandHandler      = commandHandler;
            this.inputOutputProvider = inputOutputProvider;
            this.commandFactory      = commandFactory;
            this.reportsProvider     = reportsProvider;
        }
コード例 #7
0
 public ReportsController(IReportsProvider reportsProvider, IMapper mapper)
 {
     this.reportsProvider = reportsProvider;
     this.mapper          = mapper;
 }
コード例 #8
0
 public ReportsController(IReportsProvider reportsProvider, ITransactionStore transactionStore)
 {
     _reportsProvider  = reportsProvider;
     _transactionStore = transactionStore;
 }
コード例 #9
0
 public MarcaReportViewModel(IReportsProvider reportsProvider)
 {
     _reportsProvider = reportsProvider;
 }