public ViewModelsFactory(ISQLiteConnector sqLiteConnector, IUserConfiguration config, IProperPulseRangeCounter properPulseRangeCounter) { this.sqLiteConnector = sqLiteConnector; userConfig = config; this.properPulseRangeCounter = properPulseRangeCounter; }
public MainViewModel(IMainViewAccess access, ISQLiteConnector sqLiteConnector, IProperPulseRangeCounter properPulseRangeCounter) { this.access = access; this.properPulseRangeCounter = properPulseRangeCounter; this.sqLiteConnector = new SQLiteConnector(); sqLiteConnector.CreateTableAsync(); }