Esempio n. 1
0
        public BusinessClassesList GetAdditionalClasses(ModuleList moduleList) {
#pragma warning disable 612,618
            var businessClassesList = new BusinessClassesList(moduleList.SelectMany(@base => @base.AdditionalBusinessClasses));
            businessClassesList.AddRange(
                moduleList.SelectMany(moduleBase => moduleBase.BusinessClassAssemblies.GetBusinessClasses()));
#pragma warning restore 612,618

            businessClassesList.AddRange(moduleList.SelectMany(@base => @base.AdditionalExportedTypes));

            return businessClassesList;
        }
Esempio n. 2
0
 public BusinessClassesList GetAdditionalClasses(ModuleList moduleList) {
     var businessClassesList = new BusinessClassesList(moduleList.SelectMany(@base => @base.AdditionalBusinessClasses));
     businessClassesList.AddRange(
         moduleList.SelectMany(moduleBase => moduleBase.BusinessClassAssemblies.GetBusinessClasses()));
     return businessClassesList;
 }
Esempio n. 3
0
 public BusinessClassesList GetAdditionalClasses(ApplicationModulesManager manager) {
     var moduleList = manager.Modules;
     var businessClassesList = new BusinessClassesList(moduleList.SelectMany(@base => @base.AdditionalBusinessClasses));
     businessClassesList.AddRange(moduleList.SelectMany(moduleBase => moduleBase.BusinessClassAssemblies.GetBusinessClasses()));
     return businessClassesList;
 }