private async Task TestMyMethod() { var dummy = new AnalyzingPage(new Models.ShoppingCart(), ImageSource.FromFile("balsh")); var path = Path.Combine(FileSystem.Current.LocalStorage.Path, "test/testreceiptImage.png"); var file = await EmbeddedResourceManager.CopyFileToLocation("receipt.png", path, true); await dummy.GetItemsFromImage(path); }
public async static Task InitDatabase() { await EmbeddedResourceManager.CopyFileToLocation(DB_NAME, DatabaseFilePath, false); }