| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | using System; |
| | 5 | | using System.Collections.Generic; |
| | 6 | |
|
| | 7 | | namespace 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) => |
| 0 | 15 | | 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) => |
| 132 | 34 | | SasQueryParameters.Create( |
| 132 | 35 | | version, |
| 132 | 36 | | services, |
| 132 | 37 | | resourceTypes, |
| 132 | 38 | | protocol, |
| 132 | 39 | | startsOn, |
| 132 | 40 | | expiresOn, |
| 132 | 41 | | ipRange, |
| 132 | 42 | | identifier, |
| 132 | 43 | | resource, |
| 132 | 44 | | permissions, |
| 132 | 45 | | signature, |
| 132 | 46 | | cacheControl, |
| 132 | 47 | | contentDisposition, |
| 132 | 48 | | contentEncoding, |
| 132 | 49 | | contentLanguage, |
| 132 | 50 | | contentType); |
| | 51 | | } |
| | 52 | | } |