NDepend.API Documentation
ContainsPath<T,K> Method
NDepend.Path Namespace > ExtensionMethodsOnPathsCollection Class : ContainsPath<T,K> Method
The sequence to search in.
The path to search for.
Returns true if seq contains path.
Syntax
[Extension()]
public static bool ContainsPath<T,K>( 
   IEnumerable<T> seq,
   K path
)
where T: class, IPath
where K: class, IPath

Parameters

seq
The sequence to search in.
path
The path to search for.

Type Parameters

T
K
Remarks
The method IPath.Equals(), overridden from System.Object, is used to test path equality.
Requirements

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

See Also

Reference

ExtensionMethodsOnPathsCollection Class
ExtensionMethodsOnPathsCollection Members