< Summary

Class:Azure.Storage.Sas.SasQueryParametersInternals
Assembly:Azure.Storage.Queues
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) =>
 1615            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) =>
 3234            SasQueryParameters.Create(
 3235                version,
 3236                services,
 3237                resourceTypes,
 3238                protocol,
 3239                startsOn,
 3240                expiresOn,
 3241                ipRange,
 3242                identifier,
 3243                resource,
 3244                permissions,
 3245                signature,
 3246                cacheControl,
 3247                contentDisposition,
 3248                contentEncoding,
 3249                contentLanguage,
 3250                contentType);
 51    }
 52}

Methods/Properties

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