コード例 #1
0
 public static IEnumerable <DevExpress.ExpressApp.XafApplication> WhereApplication(this DevExpress.ExpressApp.ApplicationModulesManager manager)
 => manager.Modules.OfType <SystemModule>().Select(module => module.Application).WhereNotDefault().Select(application => application);
コード例 #2
0
 public override void Setup(DevExpress.ExpressApp.ApplicationModulesManager moduleManager)
 {
     base.Setup(moduleManager);
     OverallCustomizationAllowedPermissionRequest.Register(Application);
 }
コード例 #3
0
 public static DevExpress.ExpressApp.XafApplication Application(this DevExpress.ExpressApp.ApplicationModulesManager manager)
 => manager.Modules.OfType <SystemModule>().First().Application;
コード例 #4
0
 public static IEnumerable <Type> ExportedTypes(this DevExpress.ExpressApp.ApplicationModulesManager manager)
 => manager.Modules.SelectMany(m => m.GetExportedTypes().Concat(m.AdditionalExportedTypes).Distinct());