NDepend.API Documentation
TaggedWithAllAttributes<TTagged> Method
NDepend.CodeModel Namespace > ExtensionMethodsSequenceUsage Class : TaggedWithAllAttributes<TTagged> Method
The tagged code elements' type that is IAttributeTarget or that implements IAttributeTarget, being one of IMethod, IField, IType or IAssembly type.
This sequence of code elements.
A sequence of types attribute that all tag code elements in the returned sequence.
Returns a sub-sequence of this sequence codeElementsTagged, containing only code elements tagged with all attribute types in typesAttribute .
Syntax

Parameters

codeElementsTagged
This sequence of code elements.
typesAttribute
A sequence of types attribute that all tag code elements in the returned sequence.

Type Parameters

TTagged
The tagged code elements' type that is IAttributeTarget or that implements IAttributeTarget, being one of IMethod, IField, IType or IAssembly type.
Remarks
This extension method has a O(codeElementsTagged.Count + typesAttribute.Count) time complexity.
Requirements

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

See Also

Reference

ExtensionMethodsSequenceUsage Class
ExtensionMethodsSequenceUsage Members
HasAttribute Method
AttributeClassesThatTagMe Property
TaggedWithAttribute<TTagged> Method
TaggedWithAnyAttributes<TTagged> Method
HasAttribute Method