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))); }
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))); }