Class FindParam
Inheritance
System.Object
FindParam
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.WebAii.ObjectModel
Assembly: ArtOfTest.WebAii.dll
Syntax
[Obsolete("FindParam will be removed in next release. Please use HtmlFindExpression or XamlFindExpressions instead. FindParam.ToFindExpression() can help you convert your current FindParams to FindExpressions")]
public class FindParam : INotifyPropertyChanged, IFindParam
Constructors
FindParam()
Declaration
public FindParam()
FindParam(HtmlFindExpression)
Declaration
public FindParam(HtmlFindExpression expression)
Parameters
HtmlFindExpression
expression
|
FindParam(FindType, String, String[])
Declaration
public FindParam(FindType type, string value, params string[] attributesNameValuePairs)
Parameters
FindType
type
|
System.String
value
|
System.String[]
attributesNameValuePairs
|
FindParam(Int32[])
Declaration
public FindParam(params int[] nodesIndexPath)
Parameters
System.Int32[]
nodesIndexPath
|
FindParam(String, Int32)
Declaration
public FindParam(string tagName, int occurrenceIndex)
Parameters
System.String
tagName
|
System.Int32
occurrenceIndex
|
FindParam(String, Int32, String[])
Declaration
public FindParam(string tagName, int occurrenceIndex, params string[] attributesNameValuePairs)
Parameters
System.String
tagName
|
System.Int32
occurrenceIndex
|
System.String[]
attributesNameValuePairs
|
FindParam(String[])
Declaration
public FindParam(params string[] attributesNameValuePairs)
Parameters
System.String[]
attributesNameValuePairs
|
Properties
Attributes
Declaration
public Collection<iAttribute> Attributes { get; set; }
Property Value
System.Collections.ObjectModel.Collection<iAttribute>
|
Constraints
Declaration
public FindParamConstraint[] Constraints { get; set; }
Property Value
FindParamConstraint[]
|
ContentType
ContentValue
Declaration
public string ContentValue { get; set; }
Property Value
System.String
|
ExcludedAttributes
Declaration
public Collection<iAttribute> ExcludedAttributes { get; set; }
Property Value
System.Collections.ObjectModel.Collection<iAttribute>
|
Expression
NodeIndexPath
Declaration
public string NodeIndexPath { get; set; }
Property Value
System.String
|
PartialAttributes
Declaration
public Collection<iAttribute> PartialAttributes { get; set; }
Property Value
System.Collections.ObjectModel.Collection<iAttribute>
|
SearchAttributes
Declaration
public string SearchAttributes { get; }
Property Value
System.String
|
TagIndex
Declaration
public int TagIndex { get; set; }
Property Value
System.Int32
|
TagName
Declaration
public string TagName { get; set; }
Property Value
System.String
|
Type
XPath
Declaration
public string XPath { get; set; }
Property Value
System.String
|
Methods
LoadFromFile(String)
Declaration
public static FindParam LoadFromFile(string fileName)
Parameters
System.String
fileName
|
Returns
FindParam
|
LoadFromXml(String)
Declaration
public static FindParam LoadFromXml(string findParamXml)
Parameters
System.String
findParamXml
|
Returns
FindParam
|
NewExpr(String[])
Declaration
public static FindParam NewExpr(params string[] expression)
Parameters
System.String[]
expression
|
Returns
FindParam
|
Save(String)
Declaration
public void Save(string fileName)
Parameters
System.String
fileName
|
SetAttributes(String[])
Declaration
public FindParam SetAttributes(params string[] nameValuePairs)
Parameters
System.String[]
nameValuePairs
|
Returns
FindParam
|
SetContent(FindContentType, String)
Declaration
public FindParam SetContent(FindContentType contentType, string contentValue)
Parameters
FindContentType
contentType
|
System.String
contentValue
|
Returns
FindParam
|
SetTagName(String)
Declaration
public FindParam SetTagName(string tagName)
Parameters
System.String
tagName
|
Returns
FindParam
|
ToString()
Declaration
public override string ToString()
Returns
System.String
|
Overrides
System.Object.ToString()
ToXml()
Declaration
public string ToXml()
Returns
System.String
|
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|
Explicit Interface Implementations
IFindParam.Attributes
Declaration
IList<IiAttribute> IFindParam.Attributes { get; }
Returns
System.Collections.Generic.IList<IiAttribute>
|
Implements
IFindParam.PartialAttributes
Declaration
IList<IiAttribute> IFindParam.PartialAttributes { get; }
Returns
System.Collections.Generic.IList<IiAttribute>
|