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