NDepend.API Documentation
WasRemoved(IAbsoluteDirectoryPath) Method
NDepend.CodeModel Namespace > ICompareContext Interface > WasRemoved Method : WasRemoved(IAbsoluteDirectoryPath) Method
The absolute directory path that contains some source files.
Returns true if the sourceDirPath has been removed since the baseline.
Syntax

Parameters

sourceDirPath
The absolute directory path that contains some source files.
Remarks
sourceDirPath can be obtained from ICodeElement.ICodeElement.SourceDecls , ISourceDecl.ISourceDecl.SourceFile.ISourceFile.FilePath.NDepend.Path.IPath.ParentDirectoryPath.
The code element from which the sourceDirPath is obtained must be obtained from OlderCodeBase.
This method works even when the path is rebased, thanks to an heuristic.
Requirements

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

See Also

Reference

ICompareContext Interface
ICompareContext Members
Overload List
CodeWasChanged Method
WasRemoved(ICodeElement) Method
WasRemoved(IAbsoluteFilePath) Method
WasChanged(IAbsoluteDirectoryPath) Method
WasAdded(IAbsoluteDirectoryPath) Method