Table of Contents

Class IDEFile

Namespace
NDepend.Project
Assembly
NDepend.API.dll

Define a reference to a Visual Studio solution or project file. From this Visual Studio file one or several application assemblies are inferred to be analyzed.

public sealed class IDEFile
Inheritance
IDEFile
Inherited Members
Extension Methods

Constructor (1)

IDEFile(IFilePath, string, IDEFileRootDirResolvingInfo)

Build a Visual Studio file object.

public IDEFile(IFilePath filePath, string filters, IDEFileRootDirResolvingInfo rootDirResolvingInfo)

Parameters

filePath IFilePath

The file path

filters string

The filters used to filter out some assemblies from analysis.

rootDirResolvingInfo IDEFileRootDirResolvingInfo

The information to eventually resolve components in a root folder.

Properties (4)

Configuration

Gets the Visual Studio solution or project configuration to analyze. This property is not yet used and DEBUG assemblies are preferred.

public string Configuration { get; }

Property Value

string

Remarks

This property might be used in future versions. For now its default value is "DEBUG|AnyCPU" but it is not used.

FilePath

Gets the Visual Studio solution or project file path.

public IFilePath FilePath { get; }

Property Value

IFilePath

Filters

Gets a set of '+' and '-' filters on assemblies names. Such filters are used to filter out some assemblies from analysis.

public string Filters { get; }

Property Value

string

Remarks

The filters are applied case insensitive.
Typically the filter "-Test" will filter out test assemblies.
The filters are processed with the StringFilter implementation.

RootDirResolvingInfo

Gets the settings used to eventually resolve components in a root folder.

public IDEFileRootDirResolvingInfo RootDirResolvingInfo { get; }

Property Value

IDEFileRootDirResolvingInfo