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