示例#1
0
 /// <summary>
 /// Initializes a new instance of the ReaderViewModel class.
 /// </summary>
 public ReaderViewModel(
     INavigationService navigationService,
     ISettingsService settingsService,
     IApplicationSettingsServiceHandler roamingSettings,
     ICacheService cacheService,
     IMessageBoxService messageBox,
     ILocalisationLoader loader,
     IReaderHelper readerHelper)
 {
     _navigationService = navigationService;
     _settingsService   = settingsService;
     _roamingSettings   = roamingSettings;
     _cacheService      = cacheService;
     _messageBox        = messageBox;
     _loader            = loader;
     _readerHelper      = readerHelper;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the ReaderViewModel class.
 /// </summary>
 public ReaderViewModel(
     INavigationService navigationService,
     ISettingsService settingsService,
     IApplicationSettingsServiceHandler roamingSettings,
     ICacheService cacheService,
     IMessageBoxService messageBox,
     ILocalisationLoader loader,
     IReaderHelper readerHelper)
 {
     _navigationService = navigationService;
     _settingsService = settingsService;
     _roamingSettings = roamingSettings;
     _cacheService = cacheService;
     _messageBox = messageBox;
     _loader = loader;
     _readerHelper = readerHelper;
 }