C# Класс TestStack.White.Mappings.ControlDictionary

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Instance ControlDictionary

Открытые методы

Метод Описание
GetControlType ( Type testControlType, string frameworkId ) : System.Windows.Automation.ControlType[]
GetTestControlType ( AutomationElement automationElement ) : Type
GetTestControlType ( string className, string name, ControlType controlType, string frameWorkId, bool isNativeControl ) : Type
HasPrimaryChildren ( ControlType controlType ) : bool
IsControlTypeSupported ( ControlType controlType ) : bool
IsEditable ( UIItem uiItem ) : bool
IsExcluded ( ControlType controlType ) : bool
IsPrimaryControl ( ControlType controlType, string className, string name ) : bool
PrimaryControlTypes ( string frameworkId ) : List

Приватные методы

Метод Описание
ControlDictionary ( ) : System
ControlTypeMatches ( ControlType controlType, TestStack.White.Mappings.ControlDictionaryItem controlDictionaryItem ) : bool
FrameworkIdMatches ( string frameWorkId, TestStack.White.Mappings.ControlDictionaryItem controlDictionaryItem ) : bool

Описание методов

GetControlType() публичный Метод

public GetControlType ( Type testControlType, string frameworkId ) : System.Windows.Automation.ControlType[]
testControlType System.Type
frameworkId string
Результат System.Windows.Automation.ControlType[]

GetTestControlType() публичный Метод

public GetTestControlType ( AutomationElement automationElement ) : Type
automationElement System.Windows.Automation.AutomationElement
Результат System.Type

GetTestControlType() публичный Метод

public GetTestControlType ( string className, string name, ControlType controlType, string frameWorkId, bool isNativeControl ) : Type
className string
name string
controlType System.Windows.Automation.ControlType
frameWorkId string
isNativeControl bool
Результат System.Type

HasPrimaryChildren() публичный Метод

public HasPrimaryChildren ( ControlType controlType ) : bool
controlType System.Windows.Automation.ControlType
Результат bool

IsControlTypeSupported() публичный Метод

public IsControlTypeSupported ( ControlType controlType ) : bool
controlType System.Windows.Automation.ControlType
Результат bool

IsEditable() публичный Метод

public IsEditable ( UIItem uiItem ) : bool
uiItem UIItem
Результат bool

IsExcluded() публичный Метод

public IsExcluded ( ControlType controlType ) : bool
controlType System.Windows.Automation.ControlType
Результат bool

IsPrimaryControl() публичный Метод

public IsPrimaryControl ( ControlType controlType, string className, string name ) : bool
controlType System.Windows.Automation.ControlType
className string
name string
Результат bool

PrimaryControlTypes() публичный Метод

public PrimaryControlTypes ( string frameworkId ) : List
frameworkId string
Результат List

Описание свойств

Instance публичное статическое свойство

public static ControlDictionary,TestStack.White.Mappings Instance
Результат ControlDictionary