Example #1
0
 public Task Handle(GameweekJustBegan notification, CancellationToken cancellationToken)
 {
     using var scope = _logger.AddContext(Tuple.Create(nameof(GameweekJustBegan), notification.Gameweek.Id.ToString()));
     _logger.LogInformation("Getting ready to rumble");
     return(_state.Reset(notification.Gameweek.Id));
 }
Example #2
0
 public Task Handle(GameweekJustBegan notification, CancellationToken cancellationToken)
 {
     using var scope = _logger.AddContext(Tuple.Create(nameof(GameweekJustBegan), notification.Gameweek.Id.ToString()));
     _logger.LogInformation("Resetting state. Gameweek {Gameweek} just began.", notification.Gameweek.Id);
     return(_matchState.Reset(notification.Gameweek.Id));
 }
Example #3
0
 public Task Handle(GameweekJustBegan notification, CancellationToken cancellationToken)
 {
     _logger.LogInformation("Getting ready to rumble");
     return(_state.Reset(notification.Gameweek.Id));
 }
Example #4
0
 public Task Handle(GameweekJustBegan notification, CancellationToken cancellationToken)
 {
     _logger.LogInformation("Resetting state");
     return(_matchState.Reset(notification.Gameweek.Id));
 }