Created
December 21, 2010 01:05
-
-
Save chrisntr/749319 to your computer and use it in GitHub Desktop.
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
// My View Behind | |
var someAwesomeStuff = "More Awesome"; | |
Bar((response) => { | |
Invoke(()=> { "neat " + response }; | |
} | |
var moreAwesomeStuff = "Some Awesome"; | |
// My other class | |
void Bar(Action<string> foo) | |
{ | |
WebClient web; | |
web.DownloadStringCompleted(()=> { | |
foo("laa"); | |
}); | |
web.DownloadStringAsync(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment