< Summary

Class:Azure.Storage.Blobs.Models.BlobUploadOptions
Assembly:Azure.Storage.Blobs
File(s):C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Blobs\src\Models\BlobUploadOptions.cs
Covered lines:7
Uncovered lines:0
Coverable lines:7
Total lines:55
Line coverage:100% (7 of 7)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
get_HttpHeaders()-100%100%
get_Metadata()-100%100%
get_Tags()-100%100%
get_Conditions()-100%100%
get_ProgressHandler()-100%100%
get_AccessTier()-100%100%
get_TransferOptions()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Blobs\src\Models\BlobUploadOptions.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using System;
 5using Metadata = System.Collections.Generic.IDictionary<string, string>;
 6using Tags = System.Collections.Generic.IDictionary<string, string>;
 7
 8namespace Azure.Storage.Blobs.Models
 9{
 10    /// <summary>
 11    /// Optional paratmers for uploading to a Blob.
 12    /// </summary>
 13    public class BlobUploadOptions
 14    {
 15        /// <summary>
 16        /// Optional standard HTTP header properties that can be set for the
 17        /// new append blob.
 18        /// </summary>
 671619        public BlobHttpHeaders HttpHeaders { get; set; }
 20
 21        /// <summary>
 22        /// Optional custom metadata to set for this append blob.
 23        /// </summary>
 671624        public Metadata Metadata { get; set; }
 25
 26        /// <summary>
 27        /// Options tags to set for this block blob.
 28        /// </summary>
 223229        public Tags Tags { get; set; }
 30
 31        /// <summary>
 32        /// Optional <see cref="BlobRequestConditions"/> to add
 33        /// conditions on the upload of this Block Blob.
 34        /// </summary>
 786035        public BlobRequestConditions Conditions { get; set; }
 36
 37        /// <summary>
 38        /// Optional <see cref="IProgress{Long}"/> to provide
 39        /// progress updates about data transfers.
 40        /// </summary>
 665241        public IProgress<long> ProgressHandler { get; set; }
 42
 43        /// <summary>
 44        /// Optional <see cref="AccessTier"/> to set on the
 45        /// Block Blob.
 46        /// </summary>
 671647        public AccessTier? AccessTier { get; set; }
 48
 49        /// <summary>
 50        /// Optional <see cref="StorageTransferOptions"/> to configure
 51        /// parallel transfer behavior.
 52        /// </summary>
 487253        public StorageTransferOptions TransferOptions { get; set; }
 54    }
 55}