共用方式為


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>, Nullable<FileFormatType>)

Initializes a new instance of DocumentTranslationFileFormat.

DocumentTranslationFileFormat(String, IEnumerable<String>, IEnumerable<String>, String, IEnumerable<String>, 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.

TranslationGlossary(Uri, String, String, Nullable<TranslationStorageSource>)

Initializes a new instance of TranslationGlossary.

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

Initializes a new instance of TranslationStatusResult for mocking purposes.

TranslationTarget(Uri, String, String, IEnumerable<TranslationGlossary>, Nullable<TranslationStorageSource>)

Initializes a new instance of TranslationTarget.

Applies to