Class InputLanguagePairCollection
Inheritance
InputLanguagePairCollection
Implements
Inherited Members
Namespace: SdlSdl.LanguagePlatformTranslationMemoryApiUpgrade
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 |
---|---|---|
IInputTranslationMemory | translationMemory | The legacy translation memory. |
ILegacyLanguageDirectionData | languagePair |
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
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.