Freigeben über


DocumentTranslationModelFactory Class

Definition

Model factory that enables mocking for the Document Translation Library.

public static class DocumentTranslationModelFactory
type DocumentTranslationModelFactory = class
Public Class DocumentTranslationModelFactory
Inheritance
DocumentTranslationModelFactory

Methods

DocumentStatusResult(String, Uri, BinaryData, DateTimeOffset, DateTimeOffset, DocumentTranslationStatus, String, Single, Int64)

Initializes a new instance of DocumentStatusResult for mocking purposes.

DocumentStatusResult(String, Uri, Uri, DateTimeOffset, DateTimeOffset, DocumentTranslationStatus, String, Single, Int64)

Initializes a new instance of DocumentStatusResult for mocking purposes.

DocumentTranslateContent(Stream, IEnumerable<Stream>)

Initializes a new instance of DocumentTranslateContent.

DocumentTranslationFileFormat(String, IEnumerable<String>, IEnumerable<String>, String, IEnumerable<String>, String)

Initializes a new instance of DocumentTranslationFileFormat.

DocumentTranslationFileFormat(String, IEnumerable<String>, IEnumerable<String>, String, IEnumerable<String>)

Initializes a new instance of DocumentTranslationFileFormat.

DocumentTranslationInput(TranslationSource, IEnumerable<TranslationTarget>, Nullable<StorageInputUriKind>)

Initializes a new instance of DocumentTranslationInput.

SupportedFileFormats(IEnumerable<DocumentTranslationFileFormat>)

Initializes a new instance of SupportedFileFormats.

TranslationStatusResult(String, DateTimeOffset, DateTimeOffset, DocumentTranslationStatus, BinaryData, Int32, Int32, Int32, Int32, Int32, Int32, Int64)

Initializes a new instance of TranslationStatusResult for mocking purposes.

Applies to