NDepend.API Documentation
WasChanged(IAbsoluteDirectoryPath) Method
NDepend.CodeModel Namespace > ICompareContext Interface > WasChanged Method : WasChanged(IAbsoluteDirectoryPath) Method
The absolute directory path that contains some source files.
Returns true if the sourceDirPath contains source files changed, added or 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.
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
WasChanged(ICodeElement) Method
WasChanged(IAbsoluteFilePath) Method
WasAdded(IAbsoluteDirectoryPath) Method
WasRemoved(IAbsoluteDirectoryPath) Method