Beispiel #1
0
 /// <summary>
 /// Successful action.
 /// </summary>
 internal RecognizeEntitiesActionResult(RecognizeEntitiesResultCollection result, DateTimeOffset completedOn)
     : base(completedOn)
 {
     _documentsResults = result;
 }
Beispiel #2
0
 public RecognizeEntitiesResultCollectionDebugView(RecognizeEntitiesResultCollection collection)
 {
     BaseCollection = collection;
 }
        private static async Task <Response <RecognizeEntitiesResultCollection> > CreateRecognizeEntitiesResponseAsync(Response response, IDictionary <string, int> idToIndexMap, CancellationToken cancellation)
        {
            RecognizeEntitiesResultCollection result = await TextAnalyticsServiceSerializer.DeserializeRecognizeEntitiesResponseAsync(response.ContentStream, idToIndexMap, cancellation).ConfigureAwait(false);

            return(Response.FromValue(result, response));
        }
Beispiel #4
0
 internal RecognizeEntitiesActionResult(RecognizeEntitiesResultCollection result, DateTimeOffset completedOn, TextAnalyticsErrorInternal error)
     : base(completedOn, error)
 {
     _documentsResults = result;
 }