private static Response <DetectLanguageResultCollection> CreateDetectLanguageResponse(Response response, IDictionary <string, int> idToIndexMap) =>
 Response.FromValue(TextAnalyticsServiceSerializer.DeserializeDetectLanguageResponse(response.ContentStream, idToIndexMap), response);
Пример #2
0
 private static Response <DetectLanguageResultCollection> CreateDetectLanguageResponse(Response response) =>
 Response.FromValue(TextAnalyticsServiceSerializer.DeserializeDetectLanguageResponse(response.ContentStream), response);