Skip to content

Conversation

@Jmerk523
Copy link
Contributor

Pretty self-explanatory - intention is to traverse base type hierarchy, not to check the same one over and over again.
As a side-note, this whole function should probably be replaced with
typeof(TValid).IsAssignableFrom(type)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants