skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder Design System Kit
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Free Tools
    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
    • Functional UI Testing
    • RESTful API Testing
    • Load Testing
    • Remote Test Execution
    • Agile Teams
    • Web Test Automation
    • Desktop Test Automation
    • Responsive UI Testing
    • Continuous Testing
    • Test Studio Trainings
    • Test Studio Consulting
    • Docs and Support
    • Documentation
    • Virtual Classroom
    • Videos
    • Blogs
    • Webinars
    • Whitepapers
    • Case Studies
    • Feedback Portal
    • Technical Support
    • What’s New
    • Roadmap
    • Release Notes
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Request a demo Try now

Class FindExpression<T>

Inheritance
System.Object
FindExpression<T>
DummyFindExpression
HtmlFindExpression
DesktopFindExpression
XamlFindExpression
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.Common
Assembly: ArtOfTest.WebAii.dll

Syntax

public abstract class FindExpression<T> : IFindExpression where T : FindClause
Type Parameters
T

Constructors

FindExpression()

Declaration
public FindExpression()

FindExpression(String[])

Declaration
public FindExpression(params string[] findClauses)
Parameters
System.String[] findClauses

Properties

ChainStops

Declaration
public IList<int> ChainStops { get; }
Property Value
System.Collections.Generic.IList<System.Int32>

Implements
IFindExpression.ChainStops

Clauses

Declaration
public string[] Clauses { get; }
Property Value
System.String[]

Implements
IFindExpression.Clauses

Constraints

Declaration
public IList<HierarchyConstraint> Constraints { get; }
Property Value
System.Collections.Generic.IList<HierarchyConstraint>

Implements
IFindExpression.Constraints

FindClauses

Declaration
public IList<T> FindClauses { get; }
Property Value
System.Collections.Generic.IList<T>

HasConstraints

Declaration
public bool HasConstraints { get; }
Property Value
System.Boolean

HasHierarchicalDependency

Declaration
public bool HasHierarchicalDependency { get; }
Property Value
System.Boolean

Implements
IFindExpression.HasHierarchicalDependency

IsChained

Declaration
public bool IsChained { get; }
Property Value
System.Boolean

Implements
IFindExpression.IsChained

StringRepresentation

Declaration
public string StringRepresentation { get; }
Property Value
System.String

Implements
IFindExpression.StringRepresentation

SupportedSearchType

Declaration
public abstract Type SupportedSearchType { get; }
Property Value
System.Type

Implements
IFindExpression.SupportedSearchType

Methods

AddClause(String)

Declaration
public abstract void AddClause(string clause)
Parameters
System.String clause

AddHierarchyConstraint(HierarchyConstraint)

Declaration
public virtual void AddHierarchyConstraint(HierarchyConstraint constraint)
Parameters
HierarchyConstraint constraint

AppendChain(IFindExpression)

Declaration
public void AppendChain(IFindExpression expression)
Parameters
IFindExpression expression

Implements
IFindExpression.AppendChain(IFindExpression)

AppendClauses(Boolean, String[])

Declaration
public void AppendClauses(bool asChain, params string[] clausesToAppend)
Parameters
System.Boolean asChain

System.String[] clausesToAppend

Implements
IFindExpression.AppendClauses(Boolean, String[])

CheckConstraints(ITargetElement)

Declaration
public virtual bool CheckConstraints(ITargetElement target)
Parameters
ITargetElement target

Returns
System.Boolean

GetClauses(Int32)

Declaration
public IList<FindClause> GetClauses(int chainIndex)
Parameters
System.Int32 chainIndex

Returns
System.Collections.Generic.IList<FindClause>

Implements
IFindExpression.GetClauses(Int32)

Initialize(String[])

Declaration
public virtual void Initialize(string[] clauses)
Parameters
System.String[] clauses

Implements
IFindExpression.Initialize(String[])

Match(ITargetElement)

Declaration
public virtual bool Match(ITargetElement target)
Parameters
ITargetElement target

Returns
System.Boolean

Implements
IFindExpression.Match(ITargetElement)

Match(ITargetElement, IList<FindClause>, Boolean)

Declaration
public virtual bool Match(ITargetElement target, IList<FindClause> clauses, bool ignoreConstraints)
Parameters
ITargetElement target

System.Collections.Generic.IList<FindClause> clauses

System.Boolean ignoreConstraints

Returns
System.Boolean

Implements
IFindExpression.Match(ITargetElement, IList<FindClause>, Boolean)

Match(ITargetElement, IList<FindClause>, Boolean, ITargetElement)

Declaration
public virtual bool Match(ITargetElement target, IList<FindClause> clauses, bool ignoreConstraints, ITargetElement root)
Parameters
ITargetElement target

System.Collections.Generic.IList<FindClause> clauses

System.Boolean ignoreConstraints

ITargetElement root

Returns
System.Boolean

Implements
IFindExpression.Match(ITargetElement, IList<FindClause>, Boolean, ITargetElement)

ToString()

Declaration
public override string ToString()
Returns
System.String

Overrides
System.Object.ToString()

Update(String[])

Declaration
public void Update(string[] expression)
Parameters
System.String[] expression

Implements
IFindExpression.Update(String[])
Getting Started
  • Getting Started
  • Videos
  • Whats New
  • Roadmap
Community
  • Forums
  • Blogs
  • Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.