コード例 #1
0
 public TextBlock(AutomationElement automationElement)
 {
     automationElement.ThrowIfNull("automationElement").ThrowInvalidOperationExceptionIfNotOf(ControlType.Text);
     _automationElement = automationElement;
 }
コード例 #2
0
 public ListItem(AutomationElement automationElement)
 {
     automationElement.ThrowIfNull("automationElement").ThrowInvalidOperationExceptionIfNotOf(ControlType.ListItem);
     _automationElement = automationElement;
 }