Click or drag to resize
EditScriptApplierApply Method (EditScript, IListTranslationUnit, FilterExpression)
Applies an edit script to a list of translation units, but only to those which match the filter. If the filter is null, the edit script will be applied to all TUs in the list.

Namespace: Sdl.LanguagePlatform.TranslationMemory.EditScripts
Assembly: Sdl.LanguagePlatform.TranslationMemory (in Sdl.LanguagePlatform.TranslationMemory.dll) Version: 1.6.0.0 (1.7.3662.0)
Syntax
public static List<bool> Apply(
	EditScript script,
	IList<TranslationUnit> tus,
	FilterExpression filter
)

Parameters

script
Type: Sdl.LanguagePlatform.TranslationMemory.EditScriptsEditScript
The script to apply
tus
Type: System.Collections.GenericIListTranslationUnit
The list of translation units to apply the script to
filter
Type: Sdl.LanguagePlatform.TranslationMemoryFilterExpression
An optional filter

Return Value

Type: ListBoolean
A bool list of equal length as the input TU list, where a corresponding 'true' value indicates that the respective TU has been changed.
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments