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;
        }
Ejemplo n.º 2
0
        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;
        }