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