public RecommendedTransitionDetector(
     IEnumerable<IMixingStrategy> preferredStrategies,
     ILimitingPlaybackSpeedAdjuster playbackSpeedAdjuster)
 {
     if (preferredStrategies == null) throw new ArgumentNullException("preferredStrategies");
     if (playbackSpeedAdjuster == null) throw new ArgumentNullException("playbackSpeedAdjuster");
     this.preferredStrategies = preferredStrategies;
     this.playbackSpeedAdjuster = playbackSpeedAdjuster;
 }
Ejemplo n.º 2
0
 public MixFactory(
     IDispatcherMessenger messenger, 
     IActualTransitionDetector transitions, 
     ILimitingPlaybackSpeedAdjuster playbackSpeedAdjuster)
 {
     if (messenger == null) throw new ArgumentNullException("messenger");
     if (transitions == null) throw new ArgumentNullException("transitions");
     if (playbackSpeedAdjuster == null) throw new ArgumentNullException("playbackSpeedAdjuster");
     this.messenger = messenger;
     this.transitions = transitions;
     this.playbackSpeedAdjuster = playbackSpeedAdjuster;
 }