Class AttributeSearcher
Performs a recursive search for attributes which match a specification.
Inheritance
System.Object
AttributeSearcher
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZptSharp.Dom
Assembly: ZptSharp.dll
Syntax
public class AttributeSearcher : 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
public 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. |