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