public GeoCachingService() { try { authenticationManager = GeoCachingBLFactory.GetAuthenticationManager(); cacheManager = GeoCachingBLFactory.GetCacheManager(); statisticsManager = GeoCachingBLFactory.GetStatisticsManager(); backendRunning = true; } catch { // in case of any exception when creating "connection" to backend, set flag // and do not provide access from outside backendRunning = false; } }
public void Initialize( ) { statisticsManager = GeoCachingBLFactory.GetStatisticsManager(); }