- Added generic type argument to GetHandlerFor in IPolicyViolationHandlerConvention to ensure we know what types to resolve from the container and what types to return.
- Throwing exception in LazyInstancePolicyViolationHandlerConvention and PolicyViolationHandlerTypeConvention is not convertable to the generic type of GetHandlerFor.
- Resolving violation handlers from the container registered to the generic type of GetHandlerFor.
- Added additional convention spec scenarios covering the changes.
- Removed the unsued RegistryTypeScanner.
Throwing a PolicyViolationHandlerConversionException in LazyInstancePolicyViolationHandlerConvention and PolicyViolationHandlerTypeConvention.