Interface IInputTranslationMemoryCollection
Represents a collection of input translation memories (see IInputTranslationMemory) in a migration project (see IMigrationProject).
Inherited Members
Namespace: SdlSdl.LanguagePlatformTranslationMemoryApiUpgrade
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public interface IInputTranslationMemoryCollection : ICollection<IInputTranslationMemory>, IEnumerable<IInputTranslationMemory>, IEnumerable
Properties
this[int]
Gets the input translation memory at the specified index.
Declaration
IInputTranslationMemory this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
int | index | The index. |
Property Value
Type | Description |
---|---|
IInputTranslationMemory | The input translation memory. |
Methods
Add(ILegacyTranslationMemory)
Adds a legacy translation memory as input to the collection.
Declaration
IInputTranslationMemory Add(ILegacyTranslationMemory legacyTm)
Parameters
Type | Name | Description |
---|---|---|
ILegacyTranslationMemory | legacyTm | A legacy translation memory. See IBaseTranslationMemoryMigrationManager for methods to obtain representations of various types of legacy translation memories. |
Returns
Type | Description |
---|---|
IInputTranslationMemory | A new IInputTranslationMemory object, which represents the legacy translation memory in the migration project that owns this collection. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if the |