Class TranslationResultsController
Inheritance
System.Object
TranslationResultsController
Implements
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.TranslationStudioAutomation.IntegrationApi.Editor.TranslationResults
Assembly: Sdl.TranslationStudioAutomation.IntegrationApi.dll
Syntax
public class TranslationResultsController : ITranslationResultsController
Properties
HasTranslationResults
Declaration
public bool HasTranslationResults { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
HasSearchResult(Int32)
Returns true if there is a search result for the given row number
Declaration
public bool HasSearchResult(int rowNumber)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowNumber |
Returns
Type | Description |
---|---|
System.Boolean |
SelectSearchResult(Int32, Boolean)
Selects the result at the given row number
Declaration
public void SelectSearchResult(int rowNumber, bool applyToActiveSegment)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowNumber | |
System.Boolean | applyToActiveSegment | if this is true, the result is applied on the active segment |
ShowTranslationResultsWindow()
Brings Translation Results window into View
Declaration
public void ShowTranslationResultsWindow()
TryGetCurrentTranslationResults()
Returns the current translation results
Declaration
public TranslationResults TryGetCurrentTranslationResults()
Returns
Type | Description |
---|---|
TranslationResults |