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 SourceSearchForAttributes(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. |