public InstantViewModel CreateViewModel(Instant instant) { return new InstantViewModel(instant, _eventAggregator); }
public InstantViewModel(Instant instant, EventAggregator eventAggregator, ITimeToGoNavigationService timeToGoNavigationService) { _instant = instant; _timeToGoNavigationService = timeToGoNavigationService; _eventAggregator = eventAggregator; }
public CountDownViewModel(Instant instant) { Instant = instant; _timer = new Timer(TimerTick, null, 0, 1000); }