Share via


TextAnalyticsModelFactory.DetectLanguageResultCollection Method

Definition

Initializes a new instance of DetectLanguageResultCollection for mocking purposes.

public static Azure.AI.TextAnalytics.DetectLanguageResultCollection DetectLanguageResultCollection (System.Collections.Generic.IEnumerable<Azure.AI.TextAnalytics.DetectLanguageResult> list, Azure.AI.TextAnalytics.TextDocumentBatchStatistics statistics, string modelVersion);
static member DetectLanguageResultCollection : seq<Azure.AI.TextAnalytics.DetectLanguageResult> * Azure.AI.TextAnalytics.TextDocumentBatchStatistics * string -> Azure.AI.TextAnalytics.DetectLanguageResultCollection
Public Shared Function DetectLanguageResultCollection (list As IEnumerable(Of DetectLanguageResult), statistics As TextDocumentBatchStatistics, modelVersion As String) As DetectLanguageResultCollection

Parameters

list
IEnumerable<DetectLanguageResult>

Sets the collection of DetectLanguageResult.

statistics
TextDocumentBatchStatistics

Sets the Statistics property.

modelVersion
String

Sets the ModelVersion property.

Returns

A new instance of DetectLanguageResultCollection for mocking purposes.

Applies to