예제 #1
0
 public static TResult FindMapped <TResult>(this IUIObject uiObject, string uid, Predicate <IControl> predicate = null, int?depth = null)
     where TResult : class
 {
     return(TcControlMapper.Map <TResult>(uiObject.FindGeneric(Search.ByUid(uid), predicate, depth)));
 }
예제 #2
0
 public static TResult FindMapped <TResult>(this IUIObject uiObject, Search pattern, int?depth = null)
     where TResult : class
 {
     return(TcControlMapper.Map <TResult>(uiObject.FindGeneric(pattern, null, depth)));
 }