Exemplo n.º 1
0
 public Reporter(
     IJSONLoader loader,
     INoOfSuccessDeploymentsCalc noofsuccessdeploymentscalc,
     ISuccessDeploymentBreakdownCalc successdeploymentbreakdowncalc,
     IMostPopularDayForLiveCalc mostpopulardayforlivecalc,
     IIntegrationToLiveAverageCalc integrationtolivecalc,
     IPipelineBreakdownCalc pipelinebreakdowncalc)
 {
     _loader = loader;
     _noofsuccessdeploymentscalc     = noofsuccessdeploymentscalc;
     _successDeploymentBreakdownCalc = successdeploymentbreakdowncalc;
     _mostpopulardayforlivecalc      = mostpopulardayforlivecalc;
     _integrationtolivecalc          = integrationtolivecalc;
     _pipelinebreakdowncalc          = pipelinebreakdowncalc;
 }
 public void Setup()
 {
     _calculator = new NoOfSuccessDeploymentsCalc();
     _projects   = new List <Project>();
 }