ClassHtmlFindExpression
An Html find expression. This expression replaced FindParams that are being deprecated.
Definition
Namespace:ArtOfTest.WebAii.Core
Assembly:ArtOfTest.WebAii.dll
Syntax:
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/2.0.0")]
public class HtmlFindExpression : FindExpression<HtmlFindClause>, IFindExpression
Inheritance: objectFindExpression<HtmlFindClause>HtmlFindExpression
Implements:
Inherited Members
Constructors
HtmlFindExpression()
Create an empty expression.
Declaration
public HtmlFindExpression()
HtmlFindExpression(params string[])
Create a new FindExpression.
Declaration
public HtmlFindExpression(params string[] findClauses)
Parameters
findClauses
string[]
The find clauses
Properties
SupportedSearchType
Gets the supported search type as a Type object.
Declaration
public override Type SupportedSearchType { get; }
Property Value
Overrides
Methods
AddClause(string)
Add the clause to the collection.
Declaration
public override void AddClause(string clause)
Parameters
clause
The clause to add.
Overrides
Match(ITargetElement, IList<FindClause>, bool)
Match a set of clauses against a target.
Declaration
public override bool Match(ITargetElement target, IList<FindClause> clauses, bool ignoreConstraints)
Parameters
target
The target element to match.
clauses
The list of clauses to use during the match test.
ignoreConstraints
Whether or not to ignore any contraints contained in the clauses.
Returns
Overrides
Match(ITargetElement, IList<FindClause>, bool, ITargetElement)
Match a specific set of clauses.
Declaration
public override bool Match(ITargetElement target, IList<FindClause> clauses, bool ignoreConstraints, ITargetElement root)
Parameters
target
The target element to match.
clauses
A list of clauses to test for a match.
ignoreConstraints
Whether or not to ignore any constraints attached to the clauses.
root
Root element of search tree.
Returns
Overrides