コード例 #1
0
ファイル: Raffle.cs プロジェクト: latenightbuddha/KrakenBot2
 // Raffle constructor accepts JSON data from API
 public Raffle(JToken giveawayProperties)
 {
     raffleProperties     = new RaffleProperties(giveawayProperties);
     raffleTimer.Elapsed += raffleTimerTick;
     claimTimer.Elapsed  += claimTimerTick;
 }
コード例 #2
0
ファイル: Raffle.cs プロジェクト: swiftyspiffy/KrakenBot2
 // Raffle constructor accepts JSON data from API
 public Raffle(JToken giveawayProperties)
 {
     raffleProperties = new RaffleProperties(giveawayProperties);
     raffleTimer.Elapsed += raffleTimerTick;
     claimTimer.Elapsed += claimTimerTick;
 }