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));
 }
예제 #3
0
 public static T FindById <T>(this GuiAbapEditor AbapEditor, string Id)
     where T : class
 {
     return(findByIdTemplate <T>(Id, AbapEditor.FindById));
 }
예제 #4
0
 public static T FindByName <T>(this GuiAbapEditor AbapEditor, string Name)
     where T : class
 {
     return(findByNameTemplate <T>(Name, AbapEditor.FindByName));
 }
예제 #5
0
 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));
 }
예제 #7
0
 public static IEnumerable <T> FindDescendantsByProperty <T>(this GuiAbapEditor AbapEditor, Func <T, bool> Property = null)
     where T : class
 {
     return(findDescendantsByPropertyTemplate <T>(AbapEditor.Children, Property));
 }