public void Write(IBlobContainer blobContainer, string blobAddress)
 {
     if (blobContainer == null)
     {
         throw new ArgumentNullException("blobContainer");
     }
     if (FileContentStream == null)
     {
         throw new InvalidOperationException(string.Format("Cannot {0} prior to initialize from a template.", MethodBase.GetCurrentMethod().Name));
     }
     blobContainer.UploadFromStream(blobAddress, FileContentStream);
 }
 public void Write(IBlobContainer blobContainer, string blobAddress)
 {
     if (blobContainer == null)
     {
         throw new ArgumentNullException("blobContainer");
     }
     if (FileContentStream == null)
     {
         throw new InvalidOperationException(string.Format("Cannot {0} prior to initialize from a template.", MethodBase.GetCurrentMethod().Name));
     }
     blobContainer.UploadFromStream(blobAddress, FileContentStream);
 }