Ejemplo n.º 1
0
 public HomeController(IDropboxConnector dbx, IExactConnector ext)
 {
     if (dbx == null) throw new ArgumentNullException("dbx");
     if (ext == null) throw new ArgumentNullException("ext");
     _dbx = dbx;
     _ext = ext;
 }
Ejemplo n.º 2
0
        public HomeController(IDropboxConnector dropboxConnector, IExactConnector exactConnector, ICopiedFileReferenceRepository repository)
        {
            if (dropboxConnector == null) throw new ArgumentNullException("dropboxConnector");
            if (exactConnector == null) throw new ArgumentNullException("exactConnector");
            if (repository == null) throw new ArgumentNullException("repository");

            _dropboxConnector = dropboxConnector;
            _exactConnector = exactConnector;
            _repository = repository;
        }
Ejemplo n.º 3
0
 public HomeController(IDropboxConnector dbx, IExactConnector ext)
 {
     if (dbx == null)
     {
         throw new ArgumentNullException("dbx");
     }
     if (ext == null)
     {
         throw new ArgumentNullException("ext");
     }
     _dbx = dbx;
     _ext = ext;
 }
Ejemplo n.º 4
0
        public ExactController(IExactConnector connector)
        {
            if (connector == null) throw new ArgumentNullException("connector");

            _connector = connector;
        }