Interface IInputLanguageDirectionDataCollection
Represents a collection of input language data (see IInputLanguageDirectionData), which makes up the content that will be imported into a single output translation memory (see InputLanguageDirections).
Inherited Members
Namespace: Sdl.LanguagePlatform.TranslationMemoryApi.Upgrade
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public interface IInputLanguageDirectionDataCollection : ICollection<IInputLanguageDirectionData>, IEnumerable<IInputLanguageDirectionData>, IEnumerable
Properties
Item[Int32]
Gets the input language direction data at the specified index.
Declaration
IInputLanguageDirectionData this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | index | The index. |
Property Value
| Type | Description |
|---|---|
| IInputLanguageDirectionData | The input language direction data object at the specified index. |
Methods
Add(IInputTranslationMemory, ILegacyLanguageDirectionData)
Adds a language direction of a legacy translation memory to the collection.
Declaration
IInputLanguageDirectionData Add(IInputTranslationMemory translationMemory, ILegacyLanguageDirectionData languageDirectionData)
Parameters
| Type | Name | Description |
|---|---|---|
| IInputTranslationMemory | translationMemory | The legacy translation memory. |
| ILegacyLanguageDirectionData | languageDirectionData | One of the available language direction data from the legacy translation memory. |
Returns
| Type | Description |
|---|---|
| IInputLanguageDirectionData | A new IInputLanguageDirectionData object, representing the language direction data of the legacy translation memory as input to a single output translation memory within a migration project. |
Move(Int32, Int32)
Moves the input language direction data from fromIndex to toIndex.
Declaration
void Move(int fromIndex, int toIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | fromIndex | The index from which to move the object. |
| Int32 | toIndex | The index to which to move the object. |
Remarks
The content will be imported into the output translation memory in the order that input language direction data objects appear in this collection.