< Summary

Class:Azure.Storage.Blobs.Specialized.SpecializedBlobClientOptions
Assembly:Azure.Storage.Blobs
File(s):C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Blobs\src\SpecializedBlobClientOptions.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:38
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor(...)-0%100%
get_ClientSideEncryption()-0%100%
set_ClientSideEncryption(...)-0%100%

File(s)

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

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4namespace Azure.Storage.Blobs.Specialized
 5{
 6    /// <summary>
 7    /// Provides advanced client configuration options for connecting to Azure Blob
 8    /// Storage.
 9    /// </summary>
 10#pragma warning disable AZC0008 // ClientOptions should have a nested enum called ServiceVersion; This is an extension o
 11    public class SpecializedBlobClientOptions : BlobClientOptions
 12#pragma warning restore AZC0008 // ClientOptions should have a nested enum called ServiceVersion
 13    {
 14        /// <summary>
 15        /// Initializes a new instance of the <see cref="BlobClientOptions"/>
 16        /// class.
 17        /// </summary>
 18        /// <param name="version">
 19        /// The <see cref="BlobClientOptions.ServiceVersion"/> of the service API used when
 20        /// making requests.
 21        /// </param>
 022        public SpecializedBlobClientOptions(ServiceVersion version = LatestVersion) : base(version)
 23        {
 024        }
 25
 26        /// <summary>
 27        /// Settings for data encryption when uploading and downloading with a <see cref="BlobClient"/>.
 28        /// Client-side encryption adds metadata to your blob which is necessary for decryption.
 29        ///
 30        /// For more information, see <a href="https://docs.microsoft.com/en-us/azure/storage/common/storage-client-side
 31        /// </summary>
 32        public ClientSideEncryptionOptions ClientSideEncryption
 33        {
 034            get => _clientSideEncryptionOptions;
 035            set => _clientSideEncryptionOptions = value;
 36        }
 37    }
 38}