public GamesController(IGameAppService gameAppService, IUserAppService userAppService, IBorrowAppService borrowAppService) { _gameAppRepository = gameAppService; _userAppRepository = userAppService; _borrowAppRepository = borrowAppService; _context = new SessionContext(); }
public GameController(IGameAppService gameAppService, IGameRunnerAppService gameRunnerAppService, ICoreInjector coreInjector) : base(coreInjector) { _gameAppService = gameAppService; _gameRunnerAppService = gameRunnerAppService; }
public ContentController(IUserContentAppService userContentAppService , IGameAppService gameAppService , INotificationAppService notificationAppService) { this.userContentAppService = userContentAppService; this.gameAppService = gameAppService; this.notificationAppService = notificationAppService; }
public GameController(IGameAppService gameAppService, IGameStatsService gameStatsService, IRedisProvider redisProvider) { this.gameAppService = gameAppService ?? throw new ArgumentNullException(nameof(gameAppService)); this.gameStatsService = gameStatsService ?? throw new ArgumentNullException(nameof(gameStatsService)); this.redisProvider = redisProvider ?? throw new ArgumentNullException(nameof(redisProvider)); }
public GamesController( IActionResultConverter actionResultConverter, IGameAppService gameService, IMapper mapper) { _actionResultConverter = actionResultConverter; _gameService = gameService; _mapper = mapper; }
public LoanController( ILoanAppService loanAppService, IGameAppService gameAppService, IFriendAppService friendAppService) { _loanAppService = loanAppService; _gameAppService = gameAppService; _friendAppService = friendAppService; }
public GameController(IGameAppService gameAppService , INotificationAppService notificationAppService , ITeamAppService teamAppService , ILocalizationAppService translationAppService) : base() { this.gameAppService = gameAppService; this.notificationAppService = notificationAppService; this.teamAppService = teamAppService; this.translationAppService = translationAppService; }
public CountersViewComponent(IHttpContextAccessor httpContextAccessor , IGameAppService gameAppService , IProfileAppService profileAppService , IUserContentAppService contentService , ITeamAppService teamAppService) : base(httpContextAccessor) { this.gameAppService = gameAppService; this.profileAppService = profileAppService; this.contentService = contentService; this.teamAppService = teamAppService; }
public async Task Invoke(HttpContext context, IGameAppService gameAppService, IProfileAppService profileAppService, IUserContentAppService contentAppService) { StringBuilder sb = new StringBuilder(); GameAppService = gameAppService; ProfileAppService = profileAppService; ContentAppService = contentAppService; if (context.Request.Path.Value.Equals("/sitemap.xml", StringComparison.OrdinalIgnoreCase)) { Stream stream = context.Response.Body; context.Response.StatusCode = 200; context.Response.ContentType = "application/xml"; sb.Append("<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">"); Assembly assembly = Assembly.GetExecutingAssembly(); List <Type> controllers = assembly.GetTypes() .Where(type => typeof(Controller).IsAssignableFrom(type) || type.Name.EndsWith("controller")).ToList(); foreach (Type controller in controllers) { sb.AppendLine(CheckController(controller)); } sb.AppendLine("</urlset>"); using (MemoryStream memoryStream = new MemoryStream()) { byte[] bytes = Encoding.UTF8.GetBytes(sb.ToString()); memoryStream.Write(bytes, 0, bytes.Length); memoryStream.Seek(0, SeekOrigin.Begin); await memoryStream.CopyToAsync(stream, bytes.Length); } } else { await _next(context); } }
public GameApiController( IGameAppService gameAppService) =>
public LatestGamesViewComponent(IHttpContextAccessor httpContextAccessor, IGameAppService gameAppService) : base(httpContextAccessor) { _gameAppService = gameAppService; }
public LoanController(IGameAppService service) { _service = service; }
public AttachedController(IAttachedAppService attachedAppService, IGameAppService gameAppService) { _attachedAppService = attachedAppService; }
public UsersController(IUserAppService userAppService, IGameAppService gameAppService, IBorrowAppService borrowAppService) { _userRepository = userAppService; _gameAppRepository = gameAppService; _borrowAppRepository = borrowAppService; }
public GamesController(IGameAppService gameAppService) { _gameAppService = gameAppService; }
public FifteenGameController(IGameAppService gameAppService) { _gameAppService = gameAppService; }
public GameController(IGameAppService gameAppService) { this.gameAppService = gameAppService; }
public HomeController(IFriendAppService friendAppService, IGameAppService gameAppService) { _friendAppService = friendAppService; _gameAppService = gameAppService; }
public GameController(IGameAppService gameApp) { _gameApp = gameApp; }
public MoveController(IGameAppService gameAppService) { _gameAppService = gameAppService; }
public HomeController(IUserPreferencesAppService userPreferencesAppService, IFeaturedContentAppService featuredContentAppService, IGameAppService gameAppService) : base() { this.userPreferencesAppService = userPreferencesAppService; this.featuredContentAppService = featuredContentAppService; this.gameAppService = gameAppService; }
public MastermindController(IGameAppService gameAppService, IMapper mapper) { _gameAppService = gameAppService; _mapper = mapper; }