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