Ejemplo n.º 1
0
        public void CreateServiceContext()
        {
            var services = new ServiceContext();

            _runtimeService = new RuntimeFrameworkService();
            services.Add(_runtimeService);
            services.ServiceManager.StartServices();
        }
        public void CreateServiceContext()
        {
            var services = new ServiceContext();

            services.Add(new Fakes.FakeProjectService());
            _runtimeService = new RuntimeFrameworkService();
            services.Add(_runtimeService);
            _packageManager = new PackageSettingsService();
            services.Add(_packageManager);
            services.ServiceManager.StartServices();
        }
Ejemplo n.º 3
0
        public void CreateServiceContext()
        {
            var services = new ServiceContext();

            services.Add(new Fakes.FakeProjectService());
            services.Add(new RuntimeFrameworkService());
            services.Add(new TestFrameworkService());
            services.Add(new TestPackageAnalyzer());
            services.ServiceManager.StartServices();
            _runtimeService  = services.GetService <RuntimeFrameworkService>();
            _packageAnalyzer = services.GetService <TestPackageAnalyzer>();
        }