netfx-System.TypeInheritance
Allows inspecting the exact type inheritance tree as declared in source, rather than the flattened view that reflection provides (for implemented interfaces, for example). Enables code to determine what are the interfaces implemented directly by a type rather than a base class, as well as determine the "distance" in the hierarchy to those implementations. var tree = typeof(Window).GetInheritanceTree(); // Gets just the base class ContentControl, instead // of that plus 9 interfaces implemented on base types Assert.Equal(1, tree.Inheritance.Count); Assert.Equal(typeof(ContentControl), tree.Inheritance.First().Type);
Activity
- Latest release
- 14y ago
- Total releases
- 8
- Cadence
- ~25 days
- Last 12 months
- 0
Details
- First release
- Mar 20, 2011
| Version | Released | |
|---|---|---|
1.1.1
patch
|
1.1.1
patch
Dependencies (2)
|
|
1.1.0
minor
|
1.1.0
minor
Dependencies (2)
|
|
1.0.0.12
patch
|
1.0.0.12
patch
Dependencies (2)
|
|
1.0.0.10
patch
|
1.0.0.10
patch
Dependencies (2)
|
|
1.0.0.4
patch
|
1.0.0.4
patch
Dependencies (2)
|
|
1.0.0.3
patch
|
1.0.0.3
patch
Dependencies (2)
|
|
1.0.0.2
patch
|
1.0.0.2
patch
Dependencies (2)
|
|
1.0.0.1
initial
|
1.0.0.1
initial
Dependencies (2)
|