Class CascadeEntry
Represents a cascade entry used in a cascade. A cascade entry represents a translation provider language direction and other information with regards to how it should be treated within a cascade - e.g. what penalties should be applied during searches.
Inherited Members
Namespace: SdlSdl.LanguagePlatformTranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public class CascadeEntry
Constructors
CascadeEntry(ITranslationProviderLanguageDirection, int)
Constructor that takes the given translation provider language direction and penalty.
Declaration
public CascadeEntry(ITranslationProviderLanguageDirection translationProviderLanguageDirection, int penalty)
Parameters
Type | Name | Description |
---|---|---|
ITranslationProviderLanguageDirection | translationProviderLanguageDirection | translation provider language direction |
int | penalty | penalty |
Properties
Penalty
Penalty represents the penalty that should be applied to any search results from this cascade entry.
Declaration
public int Penalty { get; }
Property Value
Type | Description |
---|---|
int |
TranslationProviderLanguageDirection
TranslationProviderLanguageDirection represents the translation provider language direction.
Declaration
public ITranslationProviderLanguageDirection TranslationProviderLanguageDirection { get; }
Property Value
Type | Description |
---|---|
ITranslationProviderLanguageDirection |