NDepend.API Documentation
BaseClasses Property
NDepend.CodeModel Namespace > IType Interface : BaseClasses Property
Gets a sequence of all base classes of this class. The sequence is empty if this type doesn't have any base class.
Syntax
IEnumerable<IType> BaseClasses {get;}
Remarks
Interfaces or the class System.Object don't have any base class.
This property getter has a O(this.DepthOfInheritance) time complexity.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

IType Interface
IType Members
BaseClass Property
DeriveFrom Method
DepthOfDeriveFrom Method
DerivedTypes Property
DirectDerivedTypes Property
ThatDeriveFrom Method
ThatDeriveFromAny Method
ThatDirectlyDeriveFrom Method
ThatDirectlyDeriveFromAny Method
DepthOfDeriveFrom Method
DepthOfDeriveFromAny Method
NDepend.Reserved.CQLinq.ExtensionMethodsCQLinqDependency.DeriveFrom(NDepend.CodeModel.IType,System.String)
NDepend.Reserved.CQLinq.ExtensionMethodsCQLinqDependency.DepthOfDeriveFrom(NDepend.CodeModel.IType,System.String)