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