public static T FindDescendantByProperty <T>(this GuiScrollContainer ScrollContainer, Func <T, bool> Property = null)
     where T : class
 {
     if (Property == null)
     {
         Property = new Func <T, bool>(t => true);
     }
     return(findDescendantByPropertyTemplate <T>(ScrollContainer.Children, Property));
 }
 public static IEnumerable <T> FindAllByName <T>(this GuiScrollContainer ScrollContainer, string Name)
     where T : class
 {
     return(findAllByNameTemplate <T>(Name, ScrollContainer.FindAllByName));
 }
예제 #3
0
 public static T FindById <T>(this GuiScrollContainer ScrollContainer, string Id)
     where T : class
 {
     return(findByIdTemplate <T>(Id, ScrollContainer.FindById));
 }
예제 #4
0
 public static T FindChildByProperty <T>(this GuiScrollContainer ScrollContainer, Func <T, bool> Property = null)
     where T : class
 {
     return(findChildByPropertyTemplate <T>(ScrollContainer.Children, Property));
 }
 public static T FindByNameEx <T>(this GuiScrollContainer ScrollContainer, string Name, int TypeId)
     where T : class
 {
     return(findByNameExTemplate <T>(Name, TypeId, ScrollContainer.FindByNameEx));
 }
예제 #6
0
 public static IEnumerable <T> FindDescendantsByProperty <T>(this GuiScrollContainer ScrollContainer, Func <T, bool> Property = null)
     where T : class
 {
     return(findDescendantsByPropertyTemplate <T>(ScrollContainer.Children, Property));
 }