Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Card"/> class.
 /// </summary>
 /// <param name="chronometerFactory">The chronometerFactory<see cref="IChronometerFactory"/>.</param>
 public Card(IChronometerFactory chronometerFactory)
 {
     _cardTime = chronometerFactory.Create();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PlaybackService"/> class.
 /// </summary>
 /// <param name="chronometerFactory">The chronometerFactory<see cref="IChronometerFactory"/>.</param>
 /// <param name="modalService">The modalService<see cref="IModalService"/>.</param>
 /// <param name="mediationService">The mediationService<see cref="IMediationService"/>.</param>
 public PlaybackService(IChronometerFactory chronometerFactory, IModalService modalService, IMediationService mediationService)
 {
     _cycleTime        = chronometerFactory.Create();
     _modalService     = modalService;
     _mediationService = mediationService;
 }