Beispiel #1
0
        private static ReflectorConfiguration DSPReflectorConfiguration(IUnityContainer container)
        {
            var appSpec = new TweakedSdmAppMainSpecMvc(container);

            var types = (new List <Type> {
                typeof(sdm.systems.application.control.State),
                typeof(sdm.systems.application.control.State[])
            });

            types.AddRange(appSpec.TypesForApp);
            types = types.Distinct().ToList();


            return(new ReflectorConfiguration(types.ToArray(), appSpec.AllServicesForApp, appSpec.NamespacesForApp, appSpec.MainMenusForApp));
        }
        private static ReflectorConfiguration DSPReflectorConfiguration(IUnityContainer container)
        {
            var appSpec = new TweakedSdmAppMainSpecMvc(container);

            return(new ReflectorConfiguration(appSpec.TypesForApp, appSpec.AllServicesForApp, appSpec.NamespacesForApp, appSpec.MainMenusForApp));
        }