public CloudController(IOptionsSnapshot <AppConfig> appConfig, ILogger <CloudController> logger, IDbConnection db, IIdentityProvider identityProvider, IEnumerable <IJob> jobs, Apm apm, ICloudHandler cloudHandler) : base(appConfig, logger, db) { _identityProvider = identityProvider; _apm = apm; _backgroundCloudEngagementsJob = jobs.FirstOrDefault(x => x.GetType() == typeof(FetchCloudEngagementsJob)) as FetchCloudEngagementsJob; _cloudHandler = cloudHandler; }
public FetchCloudEngagementsJob(IDbConnection db, IRestClient restClient, IIdentityProvider identityProvider, ILogger <FetchCloudEngagementsJob> logger, IMemoryCache cache, IOptionsMonitor <AppConfig> configMonitor, ICloudHandler cloudHandler) { _restClient = restClient; _db = db; _identityProvider = identityProvider; _logger = logger; _cache = cache; _config = configMonitor.CurrentValue; _cloudHandler = cloudHandler; logger.LogDebug("FCEJ: init successful, dependencies processed."); }
public ActionScreen(Game game, SpriteBatch spriteBatch, Texture2D image) : base(game, spriteBatch) { _image = image; _imageRectangle = new Rectangle(0, 0, Game.Window.ClientBounds.Width, Game.Window.ClientBounds.Height); _informationPanel = new InformationPanel(game); _informationPanel.Reset(); _cloudHandler = new CloudHandler(game); _playerDies = game.Content.Load <SoundEffect>("Sounds\\pain"); _collectItemHandler = new CollectItemHandler(); _collectItemHandler.Init(game); _collectItemHandler.CreatePickUpItems(); CreatePlayer(game); _enemiesHandler = new EnemiesHandler(game); BuildPlatforms(); _collectItemHandler.SetPickUpItemsOnPlatforms(_platforms); }
public ActionScreen(Game game, SpriteBatch spriteBatch, Texture2D image) : base(game, spriteBatch) { _image = image; _imageRectangle = new Rectangle(0, 0, Game.Window.ClientBounds.Width, Game.Window.ClientBounds.Height); _informationPanel = new InformationPanel(game); _informationPanel.Reset(); _cloudHandler = new CloudHandler(game); _playerDies = game.Content.Load<SoundEffect>("Sounds\\pain"); _collectItemHandler = new CollectItemHandler(); _collectItemHandler.Init(game); _collectItemHandler.CreatePickUpItems(); CreatePlayer(game); _enemiesHandler = new EnemiesHandler(game); BuildPlatforms(); _collectItemHandler.SetPickUpItemsOnPlatforms(_platforms); }
public SignupController(IDataHandler dataHandler, ICloudHandler cloudHandler, ILogicHandler logicHandler) : base(dataHandler, logicHandler) { CloudHandler = cloudHandler; }