コード例 #1
0
 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;
     }
 }
コード例 #2
0
 public TestingCore()
 {
     RegisterTypes();
     _testFrameworkService = DependencyInjector.Retrieve <ITestFrameworkService>();
 }
コード例 #3
0
 public RandomClass(ITestFrameworkService testFrameworkService)
 {
     _testFrameworkService = testFrameworkService;
 }