Exemplo n.º 1
0
 public AzureBlobAppenderHelper(CloudStorageAccount storage, string container, AzureBlobAppenderOptions options)
 {
     this.storage     = storage;
     this.container   = container;
     this.options     = options ?? DefaultOptions;
     this.client      = storage.CreateCloudBlobClient().GetContainerReference(this.container);
     this.masterindex = new MasterIndex(new FileIndexLock(storage, container, options.NamingPolicy.GetIndexPath()));
 }
 public AzureBlobAppenderHelper(CloudStorageAccount storage, string container, AzureBlobAppenderOptions options)
 {
     this.storage = storage;
     this.container = container;
     this.options = options ?? DefaultOptions;
     this.client = storage.CreateCloudBlobClient().GetContainerReference(this.container);
     this.masterindex = new MasterIndex(new FileIndexLock(storage, container, options.NamingPolicy.GetIndexPath()));
 }