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: SdlSdl.LanguagePlatformTranslationMemoryApiUpgrade
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public interface IInputLanguageDirectionDataCollection : ICollection<IInputLanguageDirectionData>, IEnumerable<IInputLanguageDirectionData>, IEnumerable
Properties
this[int]
Gets the input language direction data at the specified index.
Declaration
IInputLanguageDirectionData this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
int | 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(int, int)
Moves the input language direction data from fromIndex
to toIndex
.
Declaration
void Move(int fromIndex, int toIndex)
Parameters
Type | Name | Description |
---|---|---|
int | fromIndex | The index from which to move the object. |
int | 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.