Exemplo n.º 1
0
        public static SearchCriteria ByControlType(Type testControlType)
        {
            var searchCriteria = new SearchCriteria(SearchConditionFactory.CreateForControlType(testControlType));

            searchCriteria.InferCustomItemType(testControlType);
            return(searchCriteria);
        }
Exemplo n.º 2
0
 public static SearchCriteria ByControlType(Type testControlType, WindowsFramework framework)
 {
     var searchCriteria = new SearchCriteria(SearchConditionFactory.CreateForControlType(testControlType, framework));
     searchCriteria.InferCustomItemType(testControlType);
     return searchCriteria;
 }