public ChallengeController(ILogger <ChallengeController> logger,
                            IUserChallengesProvider <AzureChallengeResult, UserChallenges> userChallengesProvider,
                            IAssignedQuestionProvider <AzureChallengeResult, AssignedQuestion> assignedQuestionProvider,
                            IChallengeProvider <AzureChallengeResult, ChallengeDetails> challengesProvider,
                            IParameterProvider <AzureChallengeResult, GlobalChallengeParameters> parametersProvider,
                            IAggregateProvider <AzureChallengeResult, ACMA.Aggregate> aggregateProvider,
                            IMapper mapper,
                            UserManager <AzureChallengeUIUser> userManager)
 {
     this.userChallengesProvider   = userChallengesProvider;
     this.assignedQuestionProvider = assignedQuestionProvider;
     this.challengesProvider       = challengesProvider;
     this.parametersProvider       = parametersProvider;
     this.aggregateProvider        = aggregateProvider;
     this.mapper  = mapper;
     _logger      = logger;
     _userManager = userManager;
 }
Ejemplo n.º 2
0
 public ChallengeController(ILogger <ChallengeController> logger,
                            IChallengeProvider <ACM.AzureChallengeResult, ACMT.ChallengeDetails> challengeProvider,
                            IAssignedQuestionProvider <ACM.AzureChallengeResult, ACMQ.AssignedQuestion> assignedQuestionProvider,
                            IQuestionProvider <ACM.AzureChallengeResult, ACMQ.Question> questionProvider,
                            IParameterProvider <ACM.AzureChallengeResult, ACMP.GlobalChallengeParameters> challengeParameterProvider,
                            IParameterProvider <ACM.AzureChallengeResult, ACMP.GlobalParameters> globalParameterProvider,
                            IAggregateProvider <ACM.AzureChallengeResult, ACMA.Aggregate> aggregateProvider,
                            IMapper mapper,
                            IConfiguration configuration,
                            UserManager <AzureChallengeUIUser> userManager)
 {
     this._logger                    = logger;
     this.challengeProvider          = challengeProvider;
     this.assignedQuestionProvider   = assignedQuestionProvider;
     this.questionProvider           = questionProvider;
     this.challengeParameterProvider = challengeParameterProvider;
     this.globalParameterProvider    = globalParameterProvider;
     this.aggregateProvider          = aggregateProvider;
     this.mapper        = mapper;
     this.configuration = configuration;
     this.userManager   = userManager;
 }