ClassTranslatorGroup
Definition
Namespace:ArtOfTest.Common.Design.Extensibility
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
public abstract class TranslatorGroup : BaseInterfaceInterrogator, IInterfaceInterrogator, IComparable<TranslatorGroup>, INotifyPropertyChanged
Inheritance: objectBaseInterfaceInterrogatorTranslatorGroup
Derived Classes:
Implements:
Inherited Members
Constructors
TranslatorGroup()
Create a new translator group
Declaration
public TranslatorGroup()
Properties
Enabled
Gets/Sets whether this group is enabled or not.
IdentifyColor
Gets or sets the color to use to identify the element on the recording surface
IdentifyIcon
Gets or sets the icon to use to identify this group when identified on the recording surface.
ImportStatements
Gets the list of import statements to add for a code behind file.
Declaration
public virtual Dictionary<TestType, string[]> ImportStatements { get; }
Property Value
Dictionary<TestType, string[]>
Name
The name of this recording group.
Order
The order in which this recording group recieves recording commands and ui messages. 0 is the lowest order. The lowest order gets to translate last.
TechnologyType
Technology type of this translator group
Declaration
public abstract TechnologyType TechnologyType { get; }
Property Value
Translators
The list of translators contained in this group. (Implement IControlLocator)
Declaration
public IList<IControlLocator> Translators { get; }
Property Value
TypeMappings
Gets the list of type mappings to use for this group.
Declaration
public virtual Dictionary<string, string> TypeMappings { get; }
Property Value
Methods
CompareTo(TranslatorGroup)
Compare two groups and return the one with the highest grouping order (0 is the lowest)
Declaration
public int CompareTo(TranslatorGroup other)
Parameters
other
The group to compare to
Returns
The comparison result
Implements
LoadLocators()
Load the translators of this group in the order you want.
Declaration
public abstract void LoadLocators()
MatchTranslator(ITargetElement, TranslatorSupportTypes, bool)
Match the translator against the element.
Declaration
public virtual IControlLocator MatchTranslator(ITargetElement elementToMatch, TranslatorSupportTypes typeToMatch, bool elementIsTarget)
Parameters
elementToMatch
typeToMatch
elementIsTarget
Returns
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements