Esempio n. 1
0
        private static async Task <Response <IEnumerable <IEnumerable <LinkedEntity> > > > CreateLinkedEntityResponseSimpleAsync(Response response, CancellationToken cancellation)
        {
            var result = await TextAnalyticsServiceSerializer.DeserializeLinkedEntityCollectionAsync(response.ContentStream, cancellation).ConfigureAwait(false);

            return(Response.FromValue(result, response));
        }