Class
SentenceParamAttribute

This attribute is used to decorate a property on an AutomationDescriptor to indicate that it should be a parameter as part of a SentenceEditor

Definition

Namespace:ArtOfTest.Common.Design.Extensibility

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public class SentenceParamAttribute : PrimaryPropertyAttribute, _Attribute

Inheritance: objectAttributePrimaryPropertyAttributeSentenceParamAttribute

Implements: _Attribute

Inherited Members PrimaryPropertyAttribute.NonAllowedTypesAttribute.GetCustomAttributes(MemberInfo, Type)Attribute.GetCustomAttributes(MemberInfo, Type, bool)Attribute.GetCustomAttributes(MemberInfo)Attribute.GetCustomAttributes(MemberInfo, bool)Attribute.IsDefined(MemberInfo, Type)Attribute.IsDefined(MemberInfo, Type, bool)Attribute.GetCustomAttribute(MemberInfo, Type)Attribute.GetCustomAttribute(MemberInfo, Type, bool)Attribute.GetCustomAttributes(ParameterInfo)Attribute.GetCustomAttributes(ParameterInfo, Type)Attribute.GetCustomAttributes(ParameterInfo, Type, bool)Attribute.GetCustomAttributes(ParameterInfo, bool)Attribute.IsDefined(ParameterInfo, Type)Attribute.IsDefined(ParameterInfo, Type, bool)Attribute.GetCustomAttribute(ParameterInfo, Type)Attribute.GetCustomAttribute(ParameterInfo, Type, bool)Attribute.GetCustomAttributes(Module, Type)Attribute.GetCustomAttributes(Module)Attribute.GetCustomAttributes(Module, bool)Attribute.GetCustomAttributes(Module, Type, bool)Attribute.IsDefined(Module, Type)Attribute.IsDefined(Module, Type, bool)Attribute.GetCustomAttribute(Module, Type)Attribute.GetCustomAttribute(Module, Type, bool)Attribute.GetCustomAttributes(Assembly, Type)Attribute.GetCustomAttributes(Assembly, Type, bool)Attribute.GetCustomAttributes(Assembly)Attribute.GetCustomAttributes(Assembly, bool)Attribute.IsDefined(Assembly, Type)Attribute.IsDefined(Assembly, Type, bool)Attribute.GetCustomAttribute(Assembly, Type)Attribute.GetCustomAttribute(Assembly, Type, bool)Attribute.Equals(object)Attribute.GetHashCode()Attribute.Match(object)Attribute.IsDefaultAttribute()Attribute.TypeId

Constructors

SentenceParamAttribute(string)

Create a param using the default param editor

Declaration

cs-api-definition
public SentenceParamAttribute(string defaultText)

Parameters

defaultText

string

SentenceParamAttribute(string, AutomationDescriptorType)

Create a param using the default param editor

Declaration

cs-api-definition
public SentenceParamAttribute(string defaultText, AutomationDescriptorType nonAllowedTypes)

Parameters

defaultText

string

nonAllowedTypes

AutomationDescriptorType

SentenceParamAttribute(string, Type)

Create the param attribute

Declaration

cs-api-definition
public SentenceParamAttribute(string defaultText, Type editor)

Parameters

defaultText

string

editor

Type

Properties

DefaultText

The default text

Declaration

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

Property Value

string

DisableTextBoxEdit

Get or sets whether to enable textbox editing

Declaration

cs-api-definition
public bool DisableTextBoxEdit { get; set; }

Property Value

bool

Editor

The editor type.

Declaration

cs-api-definition
public Type Editor { get; }

Property Value

Type

IsExtractedValue

Whether this parameter is a verification subject

Declaration

cs-api-definition
public bool IsExtractedValue { get; set; }

Property Value

bool

IsReadOnly

Gets or sets whether to make the parameter readonly.

Declaration

cs-api-definition
public bool IsReadOnly { get; set; }

Property Value

bool

IsVisible

Optional on the attribute. Whether the initial param is visible in the sentence or not.

Declaration

cs-api-definition
public bool IsVisible { get; set; }

Property Value

bool

StaticValueListMethod

Gets or sets the method to call to populate the list of possible values for the decorated property

Declaration

cs-api-definition
public string StaticValueListMethod { get; set; }

Property Value

string