コード例 #1
0
 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;
 }
コード例 #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;
 }
コード例 #3
0
 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;
 }
コード例 #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;
 }