michael-wolfenden/Polly — pull request #16 by feanz (2014-12-09 16:08:56+00:00)
Title: Add handle by typeof

Add method to allow you to handle policy by Type so you can pass in typeof(). This will make it easier for consuming libraries to configure what exceptions they are want to handle at run time based on config.

I've added some test coverage but did not want to repeat all tests for both generic and non generic methods.