Class
IdentificationDescriptor

Describes a type of identification.

Definition

Namespace:ArtOfTest.WebAii.Design.Translation

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/1.0.0")]
public class IdentificationDescriptor : IIdentificationDescriptor, IExtensibleDataObject

Inheritance: objectIdentificationDescriptor

Implements: IExtensibleDataObjectIIdentificationDescriptor

Constructors

IdentificationDescriptor()

Declaration

cs-api-definition
public IdentificationDescriptor()

IdentificationDescriptor(FindType, bool)

Creates a new identification attribute.

Declaration

cs-api-definition
public IdentificationDescriptor(FindType type, bool isLocked)

Parameters

type

FindType

The type of identification

isLocked

bool

Whether to lock this descriptor or not.

IdentificationDescriptor(FindType, bool, string)

Creates a new identification attribute.

Declaration

cs-api-definition
public IdentificationDescriptor(FindType type, bool isLocked, string attributeName)

Parameters

type

FindType

The type of identification

isLocked

bool

Whether to lock this descriptor or not.

attributeName

string

IdentificationDescriptor(string, bool)

Create a new identification attribute.

Declaration

cs-api-definition
public IdentificationDescriptor(string attributeName, bool isLocked)

Parameters

attributeName

string

The attribute name

isLocked

bool

Whether to lock this descriptor or not.

Properties

AttributeName

Gets the attribute name.

Declaration

cs-api-definition
[DataMember(Name = "Attributename")]
public string AttributeName { get; set; }

Property Value

string

Enabled

Gets or sets whether this attribute participates in the identification.

Declaration

cs-api-definition
[DataMember(Name = "Enabled")]
public bool Enabled { get; set; }

Property Value

bool

ExtensionData

Declaration

cs-api-definition
public ExtensionDataObject ExtensionData { get; set; }

Property Value

ExtensionDataObject

Implements IExtensibleDataObject.ExtensionData

FindType

Gets or sets the FindType to use to describe identification

Declaration

cs-api-definition
[DataMember(Name = "FindType")]
public FindType FindType { get; set; }

Property Value

FindType

Remarks

V1.0 we will only support AttributeOnly + TagIndex

IsLocked

Gets or sets whether this descriptor is locked in the user options.

Declaration

cs-api-definition
[DataMember(Name = "IsLocked")]
public bool IsLocked { get; set; }

Property Value

bool

Implements IIdentificationDescriptor.IsLocked

TechnologyType

Declaration

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

Property Value

TechnologyType

Implements IIdentificationDescriptor.TechnologyType