< Summary

Class:Azure.Storage.StorageSharedKeyCredentialInternals
Assembly:Azure.Storage.Files.DataLake
File(s):C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Common\src\Shared\StorageSharedKeyCredentialInternals.cs
Covered lines:1
Uncovered lines:2
Coverable lines:3
Total lines:22
Line coverage:33.3% (1 of 3)
Covered branches:0
Total branches:0

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Common\src\Shared\StorageSharedKeyCredentialInternals.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4namespace Azure.Storage
 5{
 6    /// <summary>
 7    /// This class is added to access protected static methods off of the base class
 8    /// that should not be exposed directly to customers.
 9    /// </summary>
 10    internal class StorageSharedKeyCredentialInternals : StorageSharedKeyCredential
 11    {
 12        #pragma warning disable IDE0051 // Remove unused private members
 13        private StorageSharedKeyCredentialInternals(string accountName, string accountKey) :
 14        #pragma warning restore IDE0051 // Remove unused private members
 015            base(accountName, accountKey)
 16        {
 017        }
 18
 19        internal static new string ComputeSasSignature(StorageSharedKeyCredential credential, string message) =>
 1245020            StorageSharedKeyCredential.ComputeSasSignature(credential, message);
 21    }
 22}