public XmlProvider(INzbQueueProvider nzbQueue, IHistoryProvider history, ICategoryProvider category, IScriptProvider script) { _nzbQueue = nzbQueue; _history = history; _category = category; _script = script; }
public NzbImportProvider(IDiskProvider disk, IHttpProvider http, IDecompressProvider decompress, INzbParseProvider parse, INzbQueueProvider queue, INntpProvider nntp, IPreQueueProvider preQueue, IConfigProvider config) { _disk = disk; _http = http; _decompress = decompress; _parse = parse; _queue = queue; _list = new List <NzbImportModel>(); _nntp = nntp; _preQueue = preQueue; _config = config; }
public NzbImportProvider(IDiskProvider disk, IHttpProvider http, IDecompressProvider decompress, INzbParseProvider parse, INzbQueueProvider queue, INntpProvider nntp, IPreQueueProvider preQueue, IConfigProvider config) { _disk = disk; _http = http; _decompress = decompress; _parse = parse; _queue = queue; _list = new List<NzbImportModel>(); _nntp = nntp; _preQueue = preQueue; _config = config; }
public SabnzbdController(INzbQueueProvider nzbQueue, IHistoryProvider history) { _nzbQueue = nzbQueue; _history = history; //nzbQueue.Add(new NzbModel // { // Category = "tv", // DatePosted = DateTime.Now, // Id = Guid.NewGuid(), // Name = "Ubuntu Test", // Status = NzbStatus.Queued, // Size = 10000000 // }); }
public NntpProvider(INzbQueueProvider nzbQueue, IServerProvider server) { _nzbQueue = nzbQueue; _server = server; _connections = new List<ConnectionModel>(); }
public NntpProvider(INzbQueueProvider nzbQueue, IServerProvider server) { _nzbQueue = nzbQueue; _server = server; _connections = new List <ConnectionModel>(); }