public ScoreProvider(TamagotchiCompetitionContext ctx, IEventProvider eventProvider, IOptions <AppConfig> appConfig, ILogger <ScoreProvider> logger /*ILoggerFactory factory*/)
 {
     _ctx           = ctx;
     _eventProvider = eventProvider;
     _appConfig     = appConfig;
     if (logger != null)
     {
         _logger = logger;
     }
     //if (factory != null)
     //    _factory = factory;
 }
Example #2
0
 public EventProvider(TamagotchiCompetitionContext ctx)
 {
     _ctx = ctx;
 }