예제 #1
0
 public void Dispose(IDataLoadEventListener listener, Exception pipelineFailureExceptionIfAny)
 {
     //if it didn't crash
     if (pipelineFailureExceptionIfAny == null)
     {
         if (FreezeAfterSuccessfulImport)
         {
             listener.OnNotify(this, new NotifyEventArgs(ProgressEventType.Information, "Freezing CohortIdentificationConfiguration"));
             _cohortIdentificationConfiguration.Freeze();
         }
     }
 }
예제 #2
0
        public override void Execute()
        {
            base.Execute();

            if (_desiredFreezeState)
            {
                _cic.Freeze();
            }
            else
            {
                _cic.Unfreeze();
            }

            Publish(_cic);
        }