Search Results for

    Show / Hide Table of Contents

    Class TranslationResultsController

    Inheritance
    System.Object
    TranslationResultsController
    Implements
    ITranslationResultsController
    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

    Implements

    ITranslationResultsController

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)

    On this page

    • Properties
      • HasTranslationResults
    • Methods
      • HasSearchResult(Int32)
      • SelectSearchResult(Int32, Boolean)
      • ShowTranslationResultsWindow()
      • TryGetCurrentTranslationResults()
    • Implements
    • Extension Methods
    Back to top Generated by DocFX