Esempio n. 1
0
 // Raffle constructor accepts JSON data from API
 public Raffle(JToken giveawayProperties)
 {
     raffleProperties     = new RaffleProperties(giveawayProperties);
     raffleTimer.Elapsed += raffleTimerTick;
     claimTimer.Elapsed  += claimTimerTick;
 }
Esempio n. 2
0
 // Raffle constructor accepts JSON data from API
 public Raffle(JToken giveawayProperties)
 {
     raffleProperties = new RaffleProperties(giveawayProperties);
     raffleTimer.Elapsed += raffleTimerTick;
     claimTimer.Elapsed += claimTimerTick;
 }