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; }
protected ControllerBase(Settings settings, ISaveChanges unitOfWork) { Claws.NotNull(() => settings); Claws.NotNull(() => unitOfWork); this.settings = settings; this.unitOfWork = unitOfWork; }
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; }
public WebSiteController(Settings settings, MillionStepsDbContext dbContext, UserProfileClient userProfileClient) : base(settings, dbContext) { this.userProfileClient = userProfileClient; }