Last active
August 29, 2015 14:03
-
-
Save einarwh/7dd2fc659214b9960f63 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
Func<Frob> WolfProof() { | |
var f = Protect(() => FrobFactory.Create()); | |
if (IsFullMoon()) { | |
f = f.Catch((WerewolfException ex) => ... ); // silver bullet? | |
} | |
return f; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment