Created
July 14, 2016 18:11
Aspect Oriented Programming with Action<> 1
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
public void MakeRice() | |
{ | |
try | |
{ | |
_riceCooker.Cook(); | |
} | |
catch (Exception exception) | |
{ | |
// Don't care if this fails, | |
// there is nothing we can do about it. | |
Logger.Log(exception.Message); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment