Exemple #1
0
        public DocumentManager(Guid userId, IStorageClient storageClient, IDocumentExecutor documentExecutor)
        {
            if (storageClient == null) throw new ArgumentNullException("storageClient");
            if (documentExecutor == null) throw new ArgumentNullException("documentExecutor");

            UserId = userId;
            StorageClient = storageClient;
            DocumentExecutor = documentExecutor;
        }
Exemple #2
0
 public AzureScanWorker(IStorageClient storage, IDocumentExecutor documentExecutor, CloudStorageAccount account)
 {
     this.storage = storage;
     this.documentExecutor = documentExecutor;
     queue = new SingleDeliveryQueueClient(account, "documents");
 }