NDepend.API Documentation
WithNameNotIn<TCodeElement> Method
NDepend.CodeModel Namespace > ExtensionMethodsNaming Class : WithNameNotIn<TCodeElement> Method
The code element type that is ICodeElement or that implements ICodeElement.
This sequence of code elements objects.
One of the forbidden name string.
An array of forbidden name string.
Returns a sub-sequence of this sequence seq, containing only code elements objects with Name not equals case sensitive to name0 and names, and not equals to a string contained in names.
Syntax
[Extension()]
public static IEnumerable<TCodeElement> WithNameNotIn<TCodeElement>( 
   IEnumerable<TCodeElement> seq,
   string name0,
   params string[] names
)
where TCodeElement: class, ICodeElement

Parameters

seq
This sequence of code elements objects.
name0
One of the forbidden name string.
names
An array of forbidden name string.

Type Parameters

TCodeElement
The code element type that is ICodeElement or that implements ICodeElement.
Requirements

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

See Also

Reference

ExtensionMethodsNaming Class
ExtensionMethodsNaming Members
Name Property
WithName<TCodeElement> Method
WithNameIn<TCodeElement> Method
WithNameLike<TCodeElement> Method
WithNameWildcardMatch<TCodeElement> Method
WithNameWildcardMatchIn<TCodeElement> Method
WithNameWildcardMatchNotIn<TCodeElement> Method
ToNameLikePredicate Method