public LinkedEntityCollectionDebugView(LinkedEntityCollection collection)
 {
     BaseCollection = collection;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of <see cref="TextAnalytics.RecognizeLinkedEntitiesResult"/> for mocking purposes.
 /// </summary>
 /// <param name="id">Sets the <see cref="TextAnalyticsResult.Id"/> property.</param>
 /// <param name="statistics">Sets the <see cref="TextAnalyticsResult.Statistics"/> property.</param>
 /// <param name="linkedEntities">Sets the collection of <see cref="TextAnalytics.LinkedEntity"/>.</param>
 /// <returns>A new instance of <see cref="TextAnalytics.RecognizeLinkedEntitiesResult"/> for mocking purposes.</returns>
 public static RecognizeLinkedEntitiesResult RecognizeLinkedEntitiesResult(string id, TextDocumentStatistics statistics, LinkedEntityCollection linkedEntities)
 {
     return(new RecognizeLinkedEntitiesResult(id, statistics, linkedEntities));
 }
 internal RecognizeLinkedEntitiesResult(string id, TextDocumentStatistics statistics, LinkedEntityCollection linkedEntities)
     : base(id, statistics)
 {
     _linkedEntities = linkedEntities;
 }