< Summary

Class:Azure.Storage.Sas.SasQueryParametersInternals
Assembly:Azure.Storage.Blobs
File(s):C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Common\src\Shared\SasQueryParametersInternals.cs
Covered lines:18
Uncovered lines:0
Coverable lines:18
Total lines:52
Line coverage:100% (18 of 18)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
Create(...)-100%100%
Create(...)-100%100%

File(s)

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

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using System;
 5using System.Collections.Generic;
 6
 7namespace Azure.Storage.Sas
 8{
 9    /// <summary>
 10    /// Helper to access protected static members of SasQueryParameters.
 11    /// </summary>
 12    internal class SasQueryParametersInternals : SasQueryParameters
 13    {
 14        internal static new SasQueryParameters Create(IDictionary<string, string> values) =>
 215            SasQueryParameters.Create(values);
 16
 17        internal static new SasQueryParameters Create(
 18            string version,
 19            AccountSasServices? services,
 20            AccountSasResourceTypes? resourceTypes,
 21            SasProtocol protocol,
 22            DateTimeOffset startsOn,
 23            DateTimeOffset expiresOn,
 24            SasIPRange ipRange,
 25            string identifier,
 26            string resource,
 27            string permissions,
 28            string signature,
 29            string cacheControl = default,
 30            string contentDisposition = default,
 31            string contentEncoding = default,
 32            string contentLanguage = default,
 33            string contentType = default) =>
 234            SasQueryParameters.Create(
 235                version,
 236                services,
 237                resourceTypes,
 238                protocol,
 239                startsOn,
 240                expiresOn,
 241                ipRange,
 242                identifier,
 243                resource,
 244                permissions,
 245                signature,
 246                cacheControl,
 247                contentDisposition,
 248                contentEncoding,
 249                contentLanguage,
 250                contentType);
 51    }
 52}

Methods/Properties

Create(...)
Create(...)