Exemple #1
0
 public DownloadProcessor(IDownloadTable downloadTable, IDownloadAuthorTable downloadAuthorTable, IDownloadFileTable downloadFileTable, IDownloadFileApi downloadFileApi, IUserTable userTable)
 {
     _downloadTable       = downloadTable;
     _downloadAuthorTable = downloadAuthorTable;
     _downloadFileTable   = downloadFileTable;
     _downloadFileApi     = downloadFileApi;
     _userTable           = userTable;
 }
        public TagContext(ILoggerFactory loggerFactory, IMemoryCache cache, IRedirectTable redirectTable, IDownloadTable downloadTable)
        {
            _logger = loggerFactory.CreateLogger(typeof(TagContext).FullName);

            _cache = cache;

            _redirectTable = redirectTable;

            _downloadTable = downloadTable;
        }
        public RecalculateDownloadCountsCommand(ITagTransactionTable txTable, ITagTable tagTable, IRedirectTable redirectTable, IDownloadTable downloadTable)
        {
            this.TagTransactionTable = txTable;

            this.TagTable = tagTable;

            this.RedirectTable = redirectTable;

            this.DownloadTable = downloadTable;
        }