public AuthenticationController(Settings settings, ISaveChanges unitOfWork, AuthenticationDao authenticationDao, OAuth2Client oAuth2Client)
     : base(settings, unitOfWork)
 {
     Claws.NotNull(() => authenticationDao);
       Claws.NotNull(() => oAuth2Client);
       this.authenticationDao = authenticationDao;
       this.oAuth2Client = oAuth2Client;
 }
Exemplo n.º 2
0
        protected ControllerBase(Settings settings, ISaveChanges unitOfWork)
        {
            Claws.NotNull(() => settings);
              Claws.NotNull(() => unitOfWork);

              this.settings = settings;
              this.unitOfWork = unitOfWork;
        }
Exemplo n.º 3
0
        public GameController(Settings settings, MillionStepsDbContext dbContext, UserSession userSession, UserProfileClient userProfileClient, ActivityLogUpdater activityLogUpdater, EventDriver eventDriver, AdventureDao adventureDao)
            : base(settings, dbContext)
        {
            Claws.NotNull(() => eventDriver);

              this.userSession = userSession;
              this.userProfileClient = userProfileClient;
              this.activityLogUpdater = activityLogUpdater;
              this.eventDriver = eventDriver;
              this.adventureDao = adventureDao;
        }
Exemplo n.º 4
0
 public WebSiteController(Settings settings, MillionStepsDbContext dbContext, UserProfileClient userProfileClient)
     : base(settings, dbContext)
 {
     this.userProfileClient = userProfileClient;
 }