Пример #1
0
 public void Dispose()
 {
     if (_slideLibrary != null)
     {
         _slideLibrary.Dispose();
     }
     _slideLibrary = null;
 }
Пример #2
0
 private _MachineBrains([NotNull] KaraokeMachine machine, [NotNull] Func <Task <_SlideLibrary> > slideLoader,
                        [NotNull] Clock clock)
 {
     _machine     = machine;
     _slideLoader = slideLoader;
     _clock       = clock;
     _machine.ShowOptions();
     _machine.SlideAdvanceSpeed = 10;
     _slideLibrary = null;
 }
Пример #3
0
        public async Task PrepareDeck()
        {
            _slideLibrary = await _slideLoader();

            _slideBeingPrepared = _StartPreparingOneSlide();
        }