< Summary

Class:Azure.Storage.Sas.SasQueryParametersInternals
Assembly:Azure.Storage.Files.Shares
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) =>
 7415            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) =>
 3634            SasQueryParameters.Create(
 3635                version,
 3636                services,
 3637                resourceTypes,
 3638                protocol,
 3639                startsOn,
 3640                expiresOn,
 3641                ipRange,
 3642                identifier,
 3643                resource,
 3644                permissions,
 3645                signature,
 3646                cacheControl,
 3647                contentDisposition,
 3648                contentEncoding,
 3649                contentLanguage,
 3650                contentType);
 51    }
 52}

Methods/Properties

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