Class InputLanguagePairCollection
Inheritance
InputLanguagePairCollection
Implements
Inherited Members
Namespace: Sdl.LanguagePlatform .TranslationMemoryApi .Upgrade
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public class InputLanguagePairCollection : ItemCollection<IInputLanguageDirectionData>, IList, ICollection, IReadOnlyList<IInputLanguageDirectionData>, IReadOnlyCollection<IInputLanguageDirectionData>, IItemCollection<IInputLanguageDirectionData>, IList<IInputLanguageDirectionData>, IInputLanguageDirectionDataCollection, ICollection<IInputLanguageDirectionData>, IEnumerable<IInputLanguageDirectionData>, IEnumerable
Constructors
InputLanguagePairCollection()
Declaration
public InputLanguagePairCollection()
Methods
Add(IInputTranslationMemory, ILegacyLanguageDirectionData)
Adds a language direction of a legacy translation memory to the collection.
Declaration
public IInputLanguageDirectionData Add(IInputTranslationMemory translationMemory, ILegacyLanguageDirectionData languagePair)
Parameters
Type | Name | Description |
---|---|---|
IInput |
translationMemory | The legacy translation memory. |
ILegacy |
languagePair |
Returns
Type | Description |
---|---|
IInput |
A new IInput |
Move(int, int)
Moves the input language direction data from fromIndex
to toIndex
.
Declaration
public 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.