Esempio n. 1
0
        public Server()
        {
            // Allow all SSL.. sucks I know but mono on linux is having problems without it..
            ServicePointManager.ServerCertificateValidationCallback += (sender, cert, chain, sslPolicyErrors) => true;

            LoadApiKey();

            indexerManager = new IndexerManager();
            sonarrApi      = new SonarrApi();
            webApi         = new WebApi(indexerManager, sonarrApi);
        }
Esempio n. 2
0
        public Server()
        {
            // Allow all SSL.. sucks I know but mono on linux is having problems without it..
            ServicePointManager.ServerCertificateValidationCallback += (sender, cert, chain, sslPolicyErrors) => true;

            LoadApiKey();

            indexerManager = new IndexerManager();
            sonarrApi = new SonarrApi();
            webApi = new WebApi(indexerManager, sonarrApi);

        }
Esempio n. 3
0
 public WebApi(IndexerManager indexerManager, SonarrApi sonarrApi)
 {
     this.indexerManager = indexerManager;
     this.sonarrApi      = sonarrApi;
 }
Esempio n. 4
0
 public WebApi(IndexerManager indexerManager, SonarrApi sonarrApi)
 {
     this.indexerManager = indexerManager;
     this.sonarrApi = sonarrApi;
 }