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