public StoreManager(INotificationStore notificationStore, ICategoryStore categoryStore, IFavoriteStore favoriteStore, ISessionStore sessionStore, ISpeakerStore speakerStore, IEventStore eventStore, ISponsorStore sponsorStore, IFeedbackStore feedbackStore, IWorkshopStore workshopStore, IApplicationDataStore applicationDataStore) { _notificationStore = notificationStore; _categoryStore = categoryStore; _favoriteStore = favoriteStore; _sessionStore = sessionStore; _speakerStore = speakerStore; _eventStore = eventStore; _sponsorStore = sponsorStore; _feedbackStore = feedbackStore; _workshopStore = workshopStore; _applicationDataStore = applicationDataStore; }
public StoreManager(INotificationStore notificationStore, ICategoryStore categoryStore, IFavoriteStore favoriteStore, ISessionStore sessionStore, ISpeakerStore speakerStore, IEventStore eventStore, ISponsorStore sponsorStore, IFeedbackStore feedbackStore, IAuthenticate authenticator, IWorkshopStore workshopStore, IApplicationDataStore applicationDataStore) { _notificationStore = notificationStore; _categoryStore = categoryStore; _favoriteStore = favoriteStore; _sessionStore = sessionStore; _speakerStore = speakerStore; _eventStore = eventStore; _sponsorStore = sponsorStore; _feedbackStore = feedbackStore; _authenticator = authenticator; _workshopStore = workshopStore; _applicationDataStore = applicationDataStore; Task.Run(async() => { await InitializeAsync().ConfigureAwait(false); }).Wait(); }