public static T FindDescendantByProperty <T>(this GuiApoGrid ApoGrid, Func <T, bool> Property = null) where T : class { if (Property == null) { Property = new Func <T, bool>(t => true); } return(findDescendantByPropertyTemplate <T>(ApoGrid.Children, Property)); }
public static IEnumerable <T> FindAllByName <T>(this GuiApoGrid ApoGrid, string Name) where T : class { return(findAllByNameTemplate <T>(Name, ApoGrid.FindAllByName)); }
public static T FindById <T>(this GuiApoGrid ApoGrid, string Id) where T : class { return(findByIdTemplate <T>(Id, ApoGrid.FindById)); }
public static T FindByName <T>(this GuiApoGrid ApoGrid, string Name) where T : class { return(findByNameTemplate <T>(Name, ApoGrid.FindByName)); }
public static T FindChildByProperty <T>(this GuiApoGrid ApoGrid, Func <T, bool> Property = null) where T : class { return(findChildByPropertyTemplate <T>(ApoGrid.Children, Property)); }
public static T FindByNameEx <T>(this GuiApoGrid ApoGrid, string Name, int TypeId) where T : class { return(findByNameExTemplate <T>(Name, TypeId, ApoGrid.FindByNameEx)); }
public static IEnumerable <T> FindDescendantsByProperty <T>(this GuiApoGrid ApoGrid, Func <T, bool> Property = null) where T : class { return(findDescendantsByPropertyTemplate <T>(ApoGrid.Children, Property)); }