public ArtistDetailViewModelFactory(ISearchService searchService, AlbumViewModelFactory albumViewModelFactory, INavigatorService navigatorSevice, IPageSwitchingService pageSwitchingService, ITrackViewModelFactory session)
 {
     if (session == null) throw new ArgumentNullException("session");
     _searchService = searchService;
     _albumViewModelFactory = albumViewModelFactory;
     this._navigatorSevice = navigatorSevice;
     this._pageSwitchingService = pageSwitchingService;
     this._session = session;
 }
Ejemplo n.º 2
0
 public TrackViewModelFactory(IAudioStationSession session, IUrlParameterToObjectsPlateHeater urlParameterToObjectsPlateHeater, AlbumViewModelFactory albumViewModelFactory, INotificationService notificationService)
 {
     if (session == null) throw new ArgumentNullException("session");
     if (urlParameterToObjectsPlateHeater == null)
         throw new ArgumentNullException("urlParameterToObjectsPlateHeater");
     if (albumViewModelFactory == null) throw new ArgumentNullException("albumViewModelFactory");
     this._session = session;
     this._urlParameterToObjectsPlateHeater = urlParameterToObjectsPlateHeater;
     _albumViewModelFactory = albumViewModelFactory;
     this.notificationService = notificationService;
 }
 public ArtistDetailViewModelFactory(ISearchService searchService, AlbumViewModelFactory albumViewModelFactory, INavigatorService navigatorSevice, IPageSwitchingService pageSwitchingService, ITrackViewModelFactory session)
 {
     if (session == null)
     {
         throw new ArgumentNullException("session");
     }
     _searchService             = searchService;
     _albumViewModelFactory     = albumViewModelFactory;
     this._navigatorSevice      = navigatorSevice;
     this._pageSwitchingService = pageSwitchingService;
     this._session = session;
 }
Ejemplo n.º 4
0
 public TrackViewModelFactory(IAudioStationSession session, IUrlParameterToObjectsPlateHeater urlParameterToObjectsPlateHeater, AlbumViewModelFactory albumViewModelFactory, INotificationService notificationService)
 {
     if (session == null)
     {
         throw new ArgumentNullException("session");
     }
     if (urlParameterToObjectsPlateHeater == null)
     {
         throw new ArgumentNullException("urlParameterToObjectsPlateHeater");
     }
     if (albumViewModelFactory == null)
     {
         throw new ArgumentNullException("albumViewModelFactory");
     }
     this._session = session;
     this._urlParameterToObjectsPlateHeater = urlParameterToObjectsPlateHeater;
     _albumViewModelFactory   = albumViewModelFactory;
     this.notificationService = notificationService;
 }