Ejemplo n.º 1
0
 private ModelRound GetRound(CacheRound round)
 {
     return(new ModelRound
     {
         Time = round.Time,
         Winner = round.Winner,
         TerroristScore = round.TerroristScore,
         CounterTerroristScore = round.CounterTerroristScore,
         Kills = round.Kills.Select(kill => GetKill(kill)).ToList(),
     });
 }
Ejemplo n.º 2
0
 private DateTime?GetRoundTime(CacheRound round)
 {
     return(round != null ? round.Time : (DateTime?)null);
 }