Exemple #1
0
        protected CloudBlobEx(CloudBlobContainerEx cloudBlobContainer, IFailoverExecutor <CloudBlob> failoverExecutor)
        {
            if (cloudBlobContainer == null)
            {
                throw new ArgumentNullException(nameof(cloudBlobContainer));
            }

            if (failoverExecutor == null)
            {
                throw new ArgumentNullException(nameof(failoverExecutor));
            }


            this.cloudBlobContainer = cloudBlobContainer;
            this.failoverExecutor   = failoverExecutor;
        }
 protected CloudBlockBlobEx(CloudBlobContainerEx cloudBlobContainer, IFailoverExecutor <CloudBlockBlob> failoverExecutor)
     : base(cloudBlobContainer, failoverExecutor)
 {
     this.failoverExecutor = failoverExecutor;
 }
 public CloudBlockBlobEx(CloudBlobContainerEx cloudBlobContainer, Func <CloudBlobContainer, CloudBlockBlob> ctorFunc)
     : this(cloudBlobContainer, ((IFailoverContainerContainerProvider <CloudBlobContainer>)cloudBlobContainer).FailoverContainer.CreateChildContainer(ctorFunc))
 {
 }
Exemple #4
0
        public CloudBlobContainerEx GetContainerReference(string containerName)
        {
            CloudBlobContainerEx cloudBlobContainerEx = new CloudBlobContainerEx(this, account => account.GetContainerReference(containerName));

            return(cloudBlobContainerEx);
        }