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