| TranslationProviderCascadeEntry Constructor (TranslationProviderReference, ListTranslationProviderReference, Boolean, Boolean, Boolean, Int32) |
Constructor that takes the main translation provider reference, project translation memory references, and default search and update settings.
Namespace: Sdl.ProjectAutomation.CoreAssembly: Sdl.ProjectAutomation.Core (in Sdl.ProjectAutomation.Core.dll) Version: 3.0.0.0 (3.1.5799.0)
Syntaxpublic TranslationProviderCascadeEntry(
TranslationProviderReference mainTranslationProvider,
List<TranslationProviderReference> projectTranslationMemories,
bool performUpdate,
bool performNormalSearch,
bool performConcordanceSearch,
int penalty
)
Public Sub New (
mainTranslationProvider As TranslationProviderReference,
projectTranslationMemories As List(Of TranslationProviderReference),
performUpdate As Boolean,
performNormalSearch As Boolean,
performConcordanceSearch As Boolean,
penalty As Integer
)
public:
TranslationProviderCascadeEntry(
TranslationProviderReference^ mainTranslationProvider,
List<TranslationProviderReference^>^ projectTranslationMemories,
bool performUpdate,
bool performNormalSearch,
bool performConcordanceSearch,
int penalty
)
new :
mainTranslationProvider : TranslationProviderReference *
projectTranslationMemories : List<TranslationProviderReference> *
performUpdate : bool *
performNormalSearch : bool *
performConcordanceSearch : bool *
penalty : int -> TranslationProviderCascadeEntryParameters
- mainTranslationProvider
- Type: Sdl.ProjectAutomation.CoreTranslationProviderReference
The main translation provider reference. - projectTranslationMemories
- Type: System.Collections.GenericListTranslationProviderReference
The list of project translation memories corresponding to the main translation provider in this entry.
This list can be empty, but not null. The only situation where the list can contain more than one translation memory is when
the main translation provider is a multilingual server-based translation memory and the project was set to create file-based
translation memories. In this case, there will be one file-based project translation memory for each of the language directions
in the main server-based translation memory (if this language direction is also one of the project language directions). - performUpdate
- Type: SystemBoolean
Whether to update this translation provider when updating translation units in the cascade
it belongs to (Entries). - performNormalSearch
- Type: SystemBoolean
Whether to search this translation provider when performing a normal translation search in the cascade
it belongs to (Entries). - performConcordanceSearch
- Type: SystemBoolean
Whether to search this translation provider when performing a concordance search in the cascade
it belongs to (Entries). - penalty
- Type: SystemInt32
The penalty to apply for search results from this provider (main or project) when performing normal searches.
This penalty is applied on top of any penalty that might be applied by the translation provider itself. This should be a positive integer.
See Also
Comments