public SpotifySessionFactory(IBus bus, ISoundOutput soundOutput, ISpotifyLogProcessor spotifyLogProcessor) { if (bus == null) throw new ArgumentNullException("bus"); if (soundOutput == null) throw new ArgumentNullException("soundOutput"); if (spotifyLogProcessor == null) throw new ArgumentNullException("spotifyLogProcessor"); _bus = bus; _soundOutput = soundOutput; _spotifyLogProcessor = spotifyLogProcessor; }
public SpotifySessionFactory(IBus bus, ISoundOutput soundOutput, ISpotifyLogProcessor spotifyLogProcessor) { if (bus == null) { throw new ArgumentNullException("bus"); } if (soundOutput == null) { throw new ArgumentNullException("soundOutput"); } if (spotifyLogProcessor == null) { throw new ArgumentNullException("spotifyLogProcessor"); } _bus = bus; _soundOutput = soundOutput; _spotifyLogProcessor = spotifyLogProcessor; }