Delen via


TextAnalyticsModelFactory.ClassifyDocumentResultCollection Method

Definition

Initializes a new instance of ClassifyDocumentResultCollection for mocking purposes.

public static Azure.AI.TextAnalytics.ClassifyDocumentResultCollection ClassifyDocumentResultCollection (System.Collections.Generic.IEnumerable<Azure.AI.TextAnalytics.ClassifyDocumentResult> classificationResultList, Azure.AI.TextAnalytics.TextDocumentBatchStatistics statistics, string projectName, string deploymentName);
static member ClassifyDocumentResultCollection : seq<Azure.AI.TextAnalytics.ClassifyDocumentResult> * Azure.AI.TextAnalytics.TextDocumentBatchStatistics * string * string -> Azure.AI.TextAnalytics.ClassifyDocumentResultCollection
Public Shared Function ClassifyDocumentResultCollection (classificationResultList As IEnumerable(Of ClassifyDocumentResult), statistics As TextDocumentBatchStatistics, projectName As String, deploymentName As String) As ClassifyDocumentResultCollection

Parameters

classificationResultList
IEnumerable<ClassifyDocumentResult>

Sets the collection of ClassifyDocumentResultCollection.

statistics
TextDocumentBatchStatistics

Sets the Statistics property.

projectName
String

Sets the ProjectName property.

deploymentName
String

Sets the DeploymentName property.

Returns

A new instance of ClassifyDocumentResultCollection for mocking purposes.

Applies to