Interface IInputTranslationMemory
Represents a legacy translation memory that is part of a migration project (see IMigration
Namespace: Sdl.LanguagePlatform.TranslationMemoryApi.Upgrade
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public interface IInputTranslationMemory
Properties
Setup
Gets the setup information from the legacy translation memory. This information is initially retrieved
through Get
Declaration
ILegacyTranslationMemorySetup Setup { get; }
Property Value
Type | Description |
---|---|
ILegacy |
TmxFilePath
Gets or sets the absolute TMX file path to which to export the legacy translation memory's content.
Declaration
string TmxFilePath { get; set; }
Property Value
Type | Description |
---|---|
String |
Remarks
Setting this property will update the Tmx
Exceptions
Type | Condition |
---|---|
System. |
Thrown when setting this property to null or an empty string. |
Invalid |
Thrown when attempting to set this property if
the legacy translation memory is a ITmx |
TmxFileStatus
Gets the status of the TMX export file specified in Tmx
Declaration
TmxFileStatus TmxFileStatus { get; }
Property Value
Type | Description |
---|---|
Tmx |
TranslationMemory
Gets the legacy translation memory which this input translation memory represents.
Declaration
ILegacyTranslationMemory TranslationMemory { get; }
Property Value
Type | Description |
---|---|
ILegacy |
Methods
ExportTmxFile(EventHandler<BatchExportedEventArgs>)
Exports the legacy TM's data to the path set in the Tmx
Declaration
void ExportTmxFile(EventHandler<BatchExportedEventArgs> progressEventHandler)
Parameters
Type | Name | Description |
---|---|---|
Event |
progressEventHandler | A progress event handler which can be used to monitor progress or cancel the export operation. |
Exceptions
Type | Condition |
---|---|
Invalid |
Thrown when attempting to call this method if
the legacy translation memory is a ITmx |
Invalid |
Thrown when calling this method before
the Tmx |