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;
 }
Пример #2
0
        protected ControllerBase(Settings settings, ISaveChanges unitOfWork)
        {
            Claws.NotNull(() => settings);
              Claws.NotNull(() => unitOfWork);

              this.settings = settings;
              this.unitOfWork = unitOfWork;
        }
Пример #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;
        }
Пример #4
0
 public WebSiteController(Settings settings, MillionStepsDbContext dbContext, UserProfileClient userProfileClient)
     : base(settings, dbContext)
 {
     this.userProfileClient = userProfileClient;
 }