public DownloadSlotsViewModelAsyncFactory(IDownloadSlotsViewModelFactory downloadSlotsViewModelFactory, ILogger logger) { if (downloadSlotsViewModelFactory == null) throw new ArgumentNullException("downloadSlotsViewModelFactory"); if (logger == null) throw new ArgumentNullException("logger"); this.downloadSlotsViewModelFactory = downloadSlotsViewModelFactory; this.logger = logger; }
public DownloadSlotsViewModelAsyncFactory(IDownloadSlotsViewModelFactory downloadSlotsViewModelFactory, ILogger logger) { if (downloadSlotsViewModelFactory == null) { throw new ArgumentNullException("downloadSlotsViewModelFactory"); } if (logger == null) { throw new ArgumentNullException("logger"); } this.downloadSlotsViewModelFactory = downloadSlotsViewModelFactory; this.logger = logger; }