Пример #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;
        }
Пример #2
0
 public AzureScanWorker(IStorageClient storage, IDocumentExecutor documentExecutor, CloudStorageAccount account)
 {
     this.storage = storage;
     this.documentExecutor = documentExecutor;
     queue = new SingleDeliveryQueueClient(account, "documents");
 }