Share via


TextAnalyticsModelFactory.CategorizedEntityCollection Method

Definition

Initializes a new instance of CategorizedEntityCollection for mocking purposes.

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

Parameters

entities
IList<CategorizedEntity>

Sets the collection of CategorizedEntity.

warnings
IList<TextAnalyticsWarning>

Sets the Warnings property.

Returns

A new instance of CategorizedEntityCollection for mocking purposes.

Applies to