Interface IInputTranslationMemoryCollection
Represents a collection of input translation memories (see IInputTranslationMemory) in a migration project (see IMigrationProject).
Inherited Members
ICollection<IInputTranslationMemory>.Add(IInputTranslationMemory)
ICollection<IInputTranslationMemory>.Clear()
ICollection<IInputTranslationMemory>.Contains(IInputTranslationMemory)
ICollection<IInputTranslationMemory>.CopyTo(IInputTranslationMemory[], Int32)
ICollection<IInputTranslationMemory>.Remove(IInputTranslationMemory)
ICollection<IInputTranslationMemory>.Count
ICollection<IInputTranslationMemory>.IsReadOnly
IEnumerable<IInputTranslationMemory>.GetEnumerator()
Namespace: Sdl.LanguagePlatform.TranslationMemoryApi.Upgrade
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public interface IInputTranslationMemoryCollection : ICollection<IInputTranslationMemory>, IEnumerable<IInputTranslationMemory>, IEnumerable
Properties
Item[Int32]
Gets the input translation memory at the specified index.
Declaration
IInputTranslationMemory this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
Int32 | 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 |
---|---|
System.ArgumentNullException | Thrown if the |