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
System.Object
CascadeEntry
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.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 |
System.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 |
---|---|
System.Int32 |
TranslationProviderLanguageDirection
TranslationProviderLanguageDirection represents the translation provider language direction.
Declaration
public ITranslationProviderLanguageDirection TranslationProviderLanguageDirection { get; }
Property Value
Type | Description |
---|---|
ITranslationProviderLanguageDirection |