コード例 #1
0
        public void TearDown()
        {
            //Drop database and dispose context
            _dataContext.Database.Delete();
            _dataContext.Dispose();

            //Dispose service
            _cnsExplorationService.Dispose();
        }
コード例 #2
0
        public void TearDown()
        {
            //Drop database and dispose context
            _dataContext.Database.Delete();
            _dataContext.Dispose();

            //Dispose service
            _nbrSurveillanceService.Dispose();

            //Dispose support services
            _cnsExplorationService.Dispose();
            _analysisService.Dispose();
        }
コード例 #3
0
ファイル: OperationTests.cs プロジェクト: Thraxs/NtTracker
        public void TearDown()
        {
            //Drop database and dispose context
            _dataContext.Database.Delete();
            _dataContext.Dispose();

            //Dispose service
            _operationService.Dispose();

            //Dispose support services
            _userAccountService.Dispose();
            _cnsExplorationService.Dispose();
            _analysisService.Dispose();
            _nbrSurveillanceService.Dispose();
            _hypothermiaService.Dispose();
            _patientService.Dispose();
        }
コード例 #4
0
 public override void Dispose()
 {
     _cnsExplorationService.Dispose();
     _analysisService.Dispose();
     base.Dispose();
 }