Created
May 7, 2013 21:33
-
-
Save nigel-sampson/5536332 to your computer and use it in GitHub Desktop.
WP8 Local Machine Weirdness
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var projects = await GetProjectsAsync(); | |
await BlobCache.LocalMachine.InsertObject("projects", projects); | |
var test = await BlobCache.LocalMachine.GetOrCreateObject("projects", () => new List<Project>()); | |
if (projects.Count != test.Count) | |
throw new InvalidOperationException("Hmmm"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment