Class
DummyFindClause

Holds a single clause as part of a Silverlight element FindExpression.

Definition

Namespace:ArtOfTest.WebAii.Core

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/2.0.0")]
public class DummyFindClause : FindClause

Inheritance: objectFindClauseDummyFindClause

Inherited Members FindClause.ToString()FindClause.GetSpecialCharForCompareType(FindCompareType)FindClause.ClauseFindClause.NameFindClause.ValueFindClause.IsHierarchicalFindClause.PriorityFindClause.CompareType

Constructors

DummyFindClause()

Declaration

cs-api-definition
public DummyFindClause()

DummyFindClause(string)

Declaration

cs-api-definition
public DummyFindClause(string clause)

Parameters

clause

string

Properties

DummySearchType

Declaration

cs-api-definition
public DummySearchType DummySearchType { get; }

Property Value

DummySearchType

NameValue

Declaration

cs-api-definition
public string NameValue { get; }

Property Value

string

Methods

ExtractValue(string, ITargetElement)

Extract the actual value for the search type passed in.

Declaration

cs-api-definition
public override string ExtractValue(string searchType, ITargetElement element)

Parameters

searchType

string

The search type.

element

ITargetElement

The target element

Returns

string

The actual value

Overrides FindClause.ExtractValue(string, ITargetElement)

Match(ITargetElement)

Match this expression.

Declaration

cs-api-definition
public override bool Match(ITargetElement element)

Parameters

element

ITargetElement

The element to match

Returns

bool

True/False whether the clause matches this element.

Overrides FindClause.Match(ITargetElement)

Match(ITargetElement, ITargetElement)

Match the target with this clause.

Declaration

cs-api-definition
public override bool Match(ITargetElement element, ITargetElement startElement)

Parameters

element

ITargetElement

The element to match.

startElement

ITargetElement

Element to start search at. Required for hierarchal searches

Returns

bool

Overrides FindClause.Match(ITargetElement, ITargetElement)

OnParsed()

Occurs when an clause is parsed into name value pairs including compare type.

Declaration

cs-api-definition
public override void OnParsed()

Overrides FindClause.OnParsed()