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