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.
Inheritance
Object
CascadeEntry
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public class CascadeEntry
Constructors
CascadeEntry(ITranslationProviderLanguageDirection, Int32)
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 |
Int32 | 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 |
---|---|
Int32 |
TranslationProviderLanguageDirection
TranslationProviderLanguageDirection represents the translation provider language direction.
Declaration
public ITranslationProviderLanguageDirection TranslationProviderLanguageDirection { get; }
Property Value
Type | Description |
---|---|
ITranslationProviderLanguageDirection |