public TextBlock(AutomationElement automationElement)
 {
     automationElement.ThrowIfNull("automationElement").ThrowInvalidOperationExceptionIfNotOf(ControlType.Text);
     _automationElement = automationElement;
 }
Esempio n. 2
0
 public ListItem(AutomationElement automationElement)
 {
     automationElement.ThrowIfNull("automationElement").ThrowInvalidOperationExceptionIfNotOf(ControlType.ListItem);
     _automationElement = automationElement;
 }