/// <summary>
 /// Reads a collection of shared access policies from the specified <see cref="AccessPolicyResponseBase&lt;T&gt;"/> object.
 /// </summary>
 /// <param name="sharedAccessPolicies">A collection of shared access policies to be filled.</param>
 /// <param name="policyResponse">A policy response object for reading the stream.</param>
 /// <typeparam name="T">The type of policy to read.</typeparam>
 internal static void ReadSharedAccessIdentifiers <T>(IDictionary <string, T> sharedAccessPolicies, AccessPolicyResponseBase <T> policyResponse)
     where T : new()
 {
     foreach (KeyValuePair <string, T> pair in policyResponse.AccessIdentifiers)
     {
         sharedAccessPolicies.Add(pair.Key, pair.Value);
     }
 }
        /// <summary>
        /// Reads a collection of shared access policies from the specified <see cref="AccessPolicyResponseBase&lt;T&gt;"/> object.
        /// </summary>
        /// <param name="sharedAccessPolicies">A collection of shared access policies to be filled.</param>
        /// <param name="policyResponse">A policy response object for reading the stream.</param>
        /// <typeparam name="T">The type of policy to read.</typeparam>
        internal static async Task ReadSharedAccessIdentifiersAsync <T>(IDictionary <string, T> sharedAccessPolicies, AccessPolicyResponseBase <T> policyResponse, CancellationToken token)
            where T : new()
        {
            token.ThrowIfCancellationRequested();

            foreach (KeyValuePair <string, T> pair in await policyResponse.AccessIdentifiers.ConfigureAwait(false))
            {
                sharedAccessPolicies.Add(pair.Key, pair.Value);
            }
        }
 internal static void ReadSharedAccessIdentifiers <T>(IDictionary <string, T> sharedAccessPolicies, AccessPolicyResponseBase <T> policyResponse) where T : new()
 {
     throw new System.NotImplementedException();
 }