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