The namespace
NDepend.CodeModel provides all types needed for a detailed snapshot of a .NET code base, modelized by an
ICodeBase object, obtained from an
IAnalysisResult object.
NDepend.CodeModel is the core of NDepend.API.
Classes
Interfaces
| Interface | Description |
| IAssembly |
Represents an application assembly, or a third-party assembly used by one or several application assemblies.
|
| IAttributeTarget | Represents a code element that can be tagged by an attribute. This interface is implemented by IMethod, IField, IType and IAssembly. |
| ICodeBase | Represents a code base snapshot, produced by a NDepend analysis. A ICodeBase object can be obtained from the NDepend.Analysis.IAnalysisResult.NDepend.Analysis.IAnalysisResult.CodeBase property. |
| ICodeBaseView | Represents a total or restrained view of a ICodeBase object. |
| ICodeContainer | Represents a code element that can contain executable code. This interface is implemented by IMethod, IType, INamespace, IAssembly and ICodeBase. |
| ICodeElement | Represents a code element. This interface is implemented by IMethod, IField, IType, INamespace and IAssembly. |
| ICodeElementParent | Represents a parent code element. This interface is implemented by IType, INamespace and IAssembly. |
| ICodeMetric<TCodeElement,TNumeric> |
Represent a code metric, a correspondance between a set of code elements and some numerical values.
|
| ICodeMetricValue<TCodeElement,TNumeric> | Represent a ICodeMetric<TCodeElement,TNumeric> value. |
| ICompareContext | Represents a diff context of two ICodeBase objects compared, NewerCodeBase and OlderCodeBase. A ICompareContext object can be obtained through the extension method ExtensionMethodsHelpers.CreateCompareContextWithOlder. |
| IEvent |
Represents an event declared in an application assembly, or declared in a third-party assembly and used by the application code.
|
| IField |
Represents a field declared in an application assembly, or declared in a third-party assembly and used the by application code.
|
| IMember | Represents a member code element. This interface is implemented by IMethod, IField and IType. |
| IMethod |
Represents a method declared in an application assembly, or declared in a third-party assembly and used by the application code.
|
| INamespace |
Represents a namespace declared in an application assembly, or declared in a third-party assembly and used by the application code.
|
| IProperty |
Represents a property declared in an application assembly, or declared in a third-party assembly and used by the application code.
|
| ISourceDecl |
Represents a 1-based line number in a source file of the analyzed application.
|
| ISourceFile |
Represents a source file of the analyzed application.
|
| IType |
Represents a type declared in an application assembly, or declared in a third-party assembly and used by the application code.
|
| IUsed | Represents a code element that can be used from another code element. This interface is implemented by IMethod, IField, IType, INamespace and IAssembly. |
| IUser | Represents a code element that can use another code element. This interface is implemented by IMethod, IType, INamespace and IAssembly. |
Enumerations
See Also