Пример #1
0
 public UserStatistics(DateTime lastSyncTime)
 {
     Android       = new PlatformStatistics(lastSyncTime, true);
     Ios           = new PlatformStatistics(lastSyncTime, true);
     RecentHistory = new RecentCountryStatsHistory(lastSyncTime);
     CountryStats  = new Dictionary <int, CountryStatistics>();
 }
Пример #2
0
 public PlatformStatistics(DateTime lastSyncTime, bool serializeOptionalProperties = false)
 {
     RecentHistory = new RecentCountryStatsHistory(lastSyncTime);
     SerializeActiveUsersInLast24Hours = serializeOptionalProperties;
 }
Пример #3
0
 public CountryStatistics(DateTime lastSyncTime)
 {
     Android       = new PlatformStatistics(lastSyncTime);
     Ios           = new PlatformStatistics(lastSyncTime);
     RecentHistory = new RecentCountryStatsHistory(lastSyncTime);
 }