Esempio n. 1
0
 public OutcomesSnapshot(PlatformEvent @event, DateTime createdAt, PlatformEventState state, Outcome[] outcomes)
 {
     Event     = @event ?? throw new ArgumentNullException(nameof(@event));
     CreatedAt = createdAt;
     State     = state;
     Outcomes  = outcomes ?? throw new ArgumentNullException(nameof(outcomes));
 }
Esempio n. 2
0
 public LiveOddsUpdate(PlatformEvent @event, DateTime createdAt, TimeSpan eventTime, IReadOnlyDictionary <string, float> update)
 {
     Event     = @event;
     CreatedAt = createdAt;
     EventTime = eventTime;
     Update    = update;
 }
Esempio n. 3
0
 public ScrapingCommand(PlatformEvent platformEvent, ScrapingOptions scrapingOptions)
 {
     PlatformEvent = platformEvent;
     Options       = scrapingOptions;
 }
Esempio n. 4
0
 public WinamaxEventScraper(Page page, PlatformEvent platformEvent)
 {
     Page           = page;
     _platformEvent = platformEvent;
 }