This post originated from an RSS feed registered with .NET Buzz
by Jonathan Crossland.
Original Post: Finding Interfaces not in hierarchy
Feed Title: Jonathan Crossland Weblog
Feed URL: http://www.jonathancrossland.com/syndication.axd
Feed Description: Design, Frameworks, Patterns and Idioms
The default for Type.GetInterfaces() return all Interfaces declared right through the hierarchy. Unfortunately, there is not option like the GetCustomAtributes() as where you can decide.
Instead to accomplish this you need to use FindInterfaces(), - something like this.