Click or drag to resize
CascadeT Class
A cascade is used to perform searches and updates across many different translation provider language directions. Each translation provider language direction is represented by a cascade entry that contains other information with regards to how it should be treated - e.g. what penalties should be applied during searches.
Inheritance Hierarchy
SystemObject
  Sdl.LanguagePlatform.TranslationMemoryApiCascadeT

Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.4157.0)
Syntax
public class Cascade<T>
where T : CascadeEntry

Type Parameters

T
T represents the cascade entry type. A simple cascade can just use CascadeEntry but, for example, project cascades need more information associated with each cascade entry and uses ProjectCascadeEntry.

The CascadeT type exposes the following members.

Constructors
  NameDescription
Public methodCascadeT
Constructor that takes the cascade entries, cascade search mode, remove duplicates, source language, and target language.
Top
Properties
  NameDescription
Public propertyCascadeEntries
Gets the cascade entries, which refer to a translation provider language direction and specify and optional penalty to apply when perforing look-ups.
Public propertyCascadeEntryIndexesUsed
Gets the Cascade Entry Indexes that were used in the search.
Public propertyRemoveDuplicates
Gets whether duplicates should be removed from search results.
Public propertySourceLanguage
Gets the source language of this cascade.
Public propertyStopSearchingWhenResultsFound
Gets or sets whether to stop searching when results have been found.
Public propertyTargetLanguage
Gets the target language of this cascade.
Top
Methods
  NameDescription
Public methodAddOrUpdateTranslationUnits(TranslationUnit, Int32, ImportSettings)
Public methodAddOrUpdateTranslationUnits(TranslationUnit, Int32, ImportSettings, IEnumerableCascadeMessage)
Public methodAddOrUpdateTranslationUnitsMasked(TranslationUnit, Int32, ImportSettings, Boolean)
Public methodAddOrUpdateTranslationUnitsMasked(TranslationUnit, Int32, ImportSettings, Boolean, IEnumerableCascadeMessage)
Public methodAddTranslationUnit(TranslationUnit, ImportSettings)
Executes AddTranslationUnit(TranslationUnit, ImportSettings) on the current translation provider.
Public methodAddTranslationUnit(TranslationUnit, ImportSettings, IEnumerableCascadeMessage)
Executes AddTranslationUnit(TranslationUnit, ImportSettings) on the current translation provider.
Public methodAddTranslationUnits(TranslationUnit, ImportSettings)
Public methodAddTranslationUnits(TranslationUnit, ImportSettings, IEnumerableCascadeMessage)
Public methodAddTranslationUnitsMasked(TranslationUnit, ImportSettings, Boolean)
Public methodAddTranslationUnitsMasked(TranslationUnit, ImportSettings, Boolean, IEnumerableCascadeMessage)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetTranslationProviderNames
Gets a comma-delimited string of translation provider names.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSearchSegment(SearchSettings, Segment)
Executes SearchSegment(SearchSettings, Segment) on the current translation provider cascade.
Public methodSearchSegment(SearchSettings, Segment, IEnumerableCascadeMessage)
Executes SearchSegment(SearchSettings, Segment) on the current translation provider cascade.
Public methodSearchSegments(SearchSettings, Segment)
Public methodSearchSegments(SearchSettings, Segment, IEnumerableCascadeMessage)
Public methodSearchSegmentsMasked(SearchSettings, Segment, Boolean)
Public methodSearchSegmentsMasked(SearchSettings, Segment, Boolean, IEnumerableCascadeMessage)
Public methodSearchSegmentsMasked(SearchSettings, SubsegmentSearchSettings, SubsegmentSearchCondition, Segment, Boolean, IEnumerableCascadeMessage)
Public methodSearchText(SearchSettings, String)
Executes SearchText(SearchSettings, String) on the current translation provider cascade.
Public methodSearchText(SearchSettings, String, IEnumerableCascadeMessage)
Executes SearchText(SearchSettings, String) on the current translation provider cascade.
Public methodSearchTranslationUnit(SearchSettings, TranslationUnit)
Executes SearchTranslationUnit(SearchSettings, TranslationUnit) on the current translation provider cascade.
Public methodSearchTranslationUnit(SearchSettings, TranslationUnit, IEnumerableCascadeMessage)
Executes SearchTranslationUnit(SearchSettings, TranslationUnit) on the current translation provider cascade.
Public methodSearchTranslationUnits(SearchSettings, TranslationUnit)
Public methodSearchTranslationUnits(SearchSettings, TranslationUnit, IEnumerableCascadeMessage)
Public methodSearchTranslationUnitsMasked(SearchSettings, TranslationUnit, Boolean)
Public methodSearchTranslationUnitsMasked(SearchSettings, TranslationUnit, Boolean, IEnumerableCascadeMessage)
Public methodSearchTranslationUnitsMasked(SearchSettings, SubsegmentSearchSettings, SubsegmentSearchCondition, TranslationUnit, Boolean, IEnumerableCascadeMessage)
Public methodSubsegmentSearchSegments
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateTranslationUnit(TranslationUnit)
Executes UpdateTranslationUnit(TranslationUnit) on the current translation provider.
Public methodUpdateTranslationUnit(TranslationUnit, IEnumerableCascadeMessage)
Executes UpdateTranslationUnit(TranslationUnit) on the current translation provider.
Public methodUpdateTranslationUnits(TranslationUnit)
Public methodUpdateTranslationUnits(TranslationUnit, IEnumerableCascadeMessage)
Top
See Also
Community
Edit

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