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