public override void Activate()
 {
     if (_failures.Count == 0)
     {
         _flipper.flipTo(_target);
     }
     else
     {
         throw new System.InvalidOperationException("Trying to activate failed index, should have checked the failures earlier...");
     }
 }
Esempio n. 2
0
 internal virtual void FlipToFailed(IndexPopulationFailure failure)
 {
     Flipper.flipTo(new FailedIndexProxy(CapableIndexDescriptor, IndexUserDescription, Populator, failure, IndexCountsRemover, outerInstance.logProvider));
 }