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