| | 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) => |
| 74 | 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) => |
| 36 | 34 | | SasQueryParameters.Create( |
| 36 | 35 | | version, |
| 36 | 36 | | services, |
| 36 | 37 | | resourceTypes, |
| 36 | 38 | | protocol, |
| 36 | 39 | | startsOn, |
| 36 | 40 | | expiresOn, |
| 36 | 41 | | ipRange, |
| 36 | 42 | | identifier, |
| 36 | 43 | | resource, |
| 36 | 44 | | permissions, |
| 36 | 45 | | signature, |
| 36 | 46 | | cacheControl, |
| 36 | 47 | | contentDisposition, |
| 36 | 48 | | contentEncoding, |
| 36 | 49 | | contentLanguage, |
| 36 | 50 | | contentType); |
| | 51 | | } |
| | 52 | | } |