Ejemplo n.º 1
0
        private ViewEditModeModule DefaultViewEditModeModule()
        {
            var application        = new XafApplicationMock().Object;
            var viewEditModeModule = new ViewEditModeModule();

            viewEditModeModule.AdditionalExportedTypes.AddRange(new[] { typeof(VEM) });
            application.SetupDefaults(viewEditModeModule);
            return(viewEditModeModule);
        }
Ejemplo n.º 2
0
        private static ViewEditModeModule DefaultViewEditModeModule(Platform platform)
        {
            var application        = platform.NewApplication();
            var viewEditModeModule = new ViewEditModeModule();

            viewEditModeModule.AdditionalExportedTypes.AddRange(new[] { typeof(VEM) });
            application.SetupDefaults(viewEditModeModule);
            return(viewEditModeModule);
        }