Exemple #1
0
 /// <summary>
 ///
 /// </summary>
 /// <returns></returns>
 private static async Task <KeyPhraseExtractResponce> ExecuteKeyPhraseExtractAsync(KeyPhraseExtractRequest request)
 {
     return
         (await HttpClientManager.ExecutePostAsyncWithHeaderValue <KeyPhraseExtractRequest, KeyPhraseExtractResponce>
          (
              URL.KeyPhraseUrl,
              request,
              new Dictionary <string, string>()
     {
         { "Ocp-Apim-Subscription-Key", AccountInfo.KeyPhraseExtractionKey }
     }
          ));
 }