NDepend.API Documentation
Abstractness Property
NDepend.CodeModel Namespace > IAssembly Interface : Abstractness Property
Gets a float numeric nullable value in the range [0,1] assessing the ratio of the number of internal abstract types (i.e abstract classes and interfaces) to the number of internal types.
Syntax
Nullable<float> Abstractness {get;}

Property Value

null if this assembly is a third-party assembly.
Otherwise returns this assembly Abstractness numeric value.
Remarks
Abstractness=0 indicates a completely concrete assembly and Abstractness=1 indicates a completely abstract assembly.
More information concerning the usefulness of this code metric is available in the descripion of the NormDistFromMainSeq code metric.

Availability:
A null numeric value is returned for any third-party assembly.
Requirements

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

See Also

Reference

IAssembly Interface
IAssembly Members