public void Reset()
 {
     if (UseInitGen && InitGenerator != null)
     {
         _blockGen  = InitGenerator;
         UseInitGen = false;
     }
     else
     {
         _blockGen = _gensDistr.Next();
     }
     _blockGen.Reset();
     ReadinessTestHandler = _blockGen.ReadinessTestHandler;
     Count = Random.Range(_minCount, _maxCount + 1);
 }
 private void ResetBlockGen()
 {
     _blockGen = _gensDistr.Next();
     _blockGen.Reset();
     ReadinessTestHandler = _blockGen.ReadinessTestHandler;
 }
 public MultiGenerator(int minCount, int maxCount, IMiniGenerator miniGen) :
     this(minCount, maxCount, new RandomItem <IMiniGenerator>(new [] { miniGen }))
 {
 }