Esempio n. 1
0
 public XmlProvider(INzbQueueProvider nzbQueue, IHistoryProvider history, ICategoryProvider category, IScriptProvider script)
 {
     _nzbQueue = nzbQueue;
     _history = history;
     _category = category;
     _script = script;
 }
Esempio n. 2
0
 public XmlProvider(INzbQueueProvider nzbQueue, IHistoryProvider history, ICategoryProvider category, IScriptProvider script)
 {
     _nzbQueue = nzbQueue;
     _history  = history;
     _category = category;
     _script   = script;
 }
Esempio n. 3
0
 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;
 }
Esempio n. 4
0
 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;
 }
Esempio n. 5
0
        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
            //                    });
        }
Esempio n. 6
0
        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
            //                    });
        }
Esempio n. 7
0
 public NntpProvider(INzbQueueProvider nzbQueue, IServerProvider server)
 {
     _nzbQueue = nzbQueue;
     _server = server;
     _connections = new List<ConnectionModel>();
 }
Esempio n. 8
0
 public NntpProvider(INzbQueueProvider nzbQueue, IServerProvider server)
 {
     _nzbQueue    = nzbQueue;
     _server      = server;
     _connections = new List <ConnectionModel>();
 }