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