public override void StartService() { _projectService = ServiceContext.GetService <IProjectService>(); _testFrameworkService = ServiceContext.GetService <ITestFrameworkService>(); _runtimeService = ServiceContext.GetService <IRuntimeFrameworkService>(); if (_projectService == null || _testFrameworkService == null || _runtimeService == null) { Status = ServiceStatus.Error; } }
public TestingCore() { RegisterTypes(); _testFrameworkService = DependencyInjector.Retrieve <ITestFrameworkService>(); }
public RandomClass(ITestFrameworkService testFrameworkService) { _testFrameworkService = testFrameworkService; }