public ClearPaymentBackgroundTask() { #if !DEBUG HockeyClient.Current.Configure(ServiceConstants.HOCKEY_APP_WINDOWS_ID); #endif HockeyClient.Current.TrackEvent("BackgroundTask"); var sqliteConnectionCreator = new DatabaseManager(new WindowsSqliteConnectionFactory(), new MvxWindowsCommonFileStore()); var notificationService = new NotificationService(); var accountRepository = new AccountRepository(new AccountDataAccess(sqliteConnectionCreator), notificationService); paymentManager = new PaymentManager( new PaymentRepository(new PaymentDataAccess(sqliteConnectionCreator), new RecurringPaymentDataAccess(sqliteConnectionCreator), accountRepository, new CategoryRepository(new CategoryDataAccess(sqliteConnectionCreator), notificationService), notificationService), accountRepository, null); }
public void Init() { connectionCreator = new DatabaseManager(new WindowsSqliteConnectionFactory(), new MvxWindowsCommonFileStore()); }