コード例 #1
0
 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));
 }
コード例 #2
0
 public static IEnumerable <T> FindAllByName <T>(this GuiAbapEditor AbapEditor, string Name)
     where T : class
 {
     return(findAllByNameTemplate <T>(Name, AbapEditor.FindAllByName));
 }
コード例 #3
0
ファイル: SAPFEExtension.cs プロジェクト: zdmta/openrpa
 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));
 }
コード例 #6
0
 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));
 }