Show / Hide Table of Contents

Interface ISearchesForAttributes

An object which may perform a recursive search of a specified container, finding all attributes which match a spec.

Namespace: ZptSharp.Dom
Assembly: ZptSharp.Abstractions.dll
Syntax
public interface ISearchesForAttributes

Methods

| Improve this Doc View Source

SearchForAttributes(IHasNodes, AttributeSpec)

Gets all attributes within the source which match a spec. This performs a recursive search.

Declaration
IEnumerable<IAttribute> SearchForAttributes(IHasNodes source, AttributeSpec spec)
Parameters
Type Name Description
IHasNodes source

A source object which provides nodes.

AttributeSpec spec

A spec for an attribute.

Returns
Type Description
System.Collections.Generic.IEnumerable<IAttribute>

The matching attributes.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX