Share via


TextAnalyticsModelFactory.LinkedEntityCollection Method

Definition

Initializes a new instance of LinkedEntityCollection for mocking purposes.

public static Azure.AI.TextAnalytics.LinkedEntityCollection LinkedEntityCollection (System.Collections.Generic.IList<Azure.AI.TextAnalytics.LinkedEntity> entities, System.Collections.Generic.IList<Azure.AI.TextAnalytics.TextAnalyticsWarning> warnings = default);
static member LinkedEntityCollection : System.Collections.Generic.IList<Azure.AI.TextAnalytics.LinkedEntity> * System.Collections.Generic.IList<Azure.AI.TextAnalytics.TextAnalyticsWarning> -> Azure.AI.TextAnalytics.LinkedEntityCollection
Public Shared Function LinkedEntityCollection (entities As IList(Of LinkedEntity), Optional warnings As IList(Of TextAnalyticsWarning) = Nothing) As LinkedEntityCollection

Parameters

entities
IList<LinkedEntity>

Sets the collection of LinkedEntity.

warnings
IList<TextAnalyticsWarning>

Sets the Warnings property.

Returns

A new instance of LinkedEntityCollection for mocking purposes.

Applies to