Example #1
0
 public void Init(IGameController gameController, IInputService input, IPointsService pointsService)
 {
     _gameController   = gameController;
     _input            = input;
     _pointsService    = pointsService;
     initLevelPosition = levelParentTransform.position;
 }
Example #2
0
 public PostsController(IPostsService posts, ICategoriesService postCategory, ICommentsService postComments, IPointsService postPoints)
 {
     this.posts = posts;
     this.postCategory = postCategory;
     this.postComments = postComments;
     this.postPoints = postPoints;
 }
Example #3
0
 public PointsController(IPointsService pointsService, IHereApiSettings apiSettings)
 {
     _pointsService           = pointsService;
     _csvFileWriter           = new CsvFileReaderWriter();
     _apiSettings             = apiSettings;
     _routeMatchingIntegrator = new RouteMatchingIntegrator(_apiSettings);
 }
Example #4
0
 public UserController(IUserApplicationService userAppService,
                       IPointsService pointsService,
                       IUserExtractService userExtractService)
 {
     _userAppService     = userAppService;
     _pointsService      = pointsService;
     _userExtractService = userExtractService;
 }
 public CommandHandler(DiscordSocketClient client, CommandService service, IDiscordLogger logger, IServiceProvider provider, IPointsService points, IGuildHandler guild)
 {
     _client   = client ?? throw new ArgumentNullException(nameof(client));
     _service  = service ?? throw new ArgumentNullException(nameof(service));
     _logger   = logger ?? throw new ArgumentNullException(nameof(logger));
     _provider = provider ?? throw new ArgumentNullException(nameof(provider));
     _points   = points ?? throw new ArgumentNullException(nameof(points));
     _guild    = guild ?? throw new ArgumentNullException(nameof(guild));
     _service.AddModulesAsync(typeof(HelpService).Assembly, provider);
 }
 public ProductsController(IProductsApplicationService productsAppService,
                           IOrdersService ordersService,
                           IUserApplicationService userAppService,
                           IUserExtractService userExtractService,
                           IPointsService pointsService)
 {
     _productsAppService = productsAppService;
     _ordersService      = ordersService;
     _userAppService     = userAppService;
     _pointsService      = pointsService;
     _userExtractService = userExtractService;
 }
Example #7
0
 public OrderController(
     ICartService cartService,
     IOrderService orderService,
     IPointsService pointsService,
     IUserService userService,
     ILoggerFactory loggerFactory)
 {
     _cartService   = cartService;
     _orderService  = orderService;
     _pointsService = pointsService;
     _userService   = userService;
     _logger        = loggerFactory.CreateLogger <OrderController>();
 }
 public SquaresController(ILogger <SquaresController> logger, IPointsService pointsService)
 {
     _pointsService = pointsService;
     _logger        = logger;
 }
Example #9
0
 public OpinionService(AppDbContext dbContext, IPointsService pointsService)
 {
     _dbContext     = dbContext;
     _pointsService = pointsService;
 }
Example #10
0
 public RouteMatchController(IPointsService pointService, IRouteMatchingService routeMatchingService)
 {
     PointService         = pointService;
     RouteMatchingService = routeMatchingService;
 }
Example #11
0
 /// <summary>
 /// </summary>
 /// <param name="pointsService">Service responsible for all the operations over the Points</param>
 /// <param name="accountsService">Service responsible for all the operations over the accounts</param>
 public PointsController(IPointsService pointsService, IAccountsService accountsService)
 {
     _pointsService   = pointsService;
     _accountsService = accountsService;
 }
Example #12
0
 public AuthService(AppDbContext dbContext, IPointsService pointsService)
 {
     _dbContext     = dbContext;
     _pointsService = pointsService;
 }
 public PointsController(IPointsService pointsService, IMapper mapper)
 {
     this.pointsService = pointsService;
     this.mapper        = mapper;
 }
Example #14
0
 public OfferService(AppDbContext dbContext, IPointsService pointsService, INotificationService notificationService)
 {
     _dbContext           = dbContext;
     _pointsService       = pointsService;
     _notificationService = notificationService;
 }
 public PointsController(IPointsService pointsService, ILogger <PointsController> logger)
 {
     _pointsService = pointsService;
     _logger        = logger;
 }
 /// <summary>
 ///     Root Controller constructor
 /// </summary>
 /// <param name="routesService">Service responsible for all the operations over the Routes</param>
 /// <param name="pointsService">Service responsible for all the operations over the Points</param>
 /// <param name="accountsService">Service responsible for all the operations over the accounts</param>
 public RoutesController(IRoutesService routesService, IPointsService pointsService, IAccountsService accountsService)
 {
     _accountsService = accountsService;
     _routesService   = routesService;
     _pointsService   = pointsService;
 }
Example #17
0
 public PointsController(IPointsService pointsService)
 {
     this.pointsService = pointsService;
 }
 public PointsController(ILogger <PointsController> logger, IPointsService pointsService, ISquaresService squaresService)
 {
     _logger         = logger;
     _pointsService  = pointsService;
     _squaresService = squaresService;
 }
 public GeoPointController(IPointsService pointService)
 {
     Log.Information("GeoPointController const"); // just for test
     PointService = pointService;
 }
Example #20
0
 public NotificationService(AppDbContext dbContext, IPointsService pointsService)
 {
     _dbContext     = dbContext;
     _pointsService = pointsService;
 }
Example #21
0
 public PointsController(IUserService userService, IPointsService pointService, IMapper mapper)
 {
     _userService  = userService;
     _pointService = pointService;
     _mapper       = mapper;
 }