Class TranslationMemoriesViewController
Inheritance
System.Object
TranslationMemoriesViewController
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
Assembly: Sdl.TranslationStudioAutomation.IntegrationApi.dll
Syntax
[BindController("TranslationMemoryManagerView")]
public class TranslationMemoriesViewController : AbstractBindedController, IDisposable, IBindedController
Constructors
TranslationMemoriesViewController()
Declaration
public TranslationMemoriesViewController()
Fields
_tmManagementService
Declaration
protected ITranslationMemoryManagementService _tmManagementService
Field Value
Type | Description |
---|---|
Sdl.TranslationStudio.Api.TranslationMemoryManager.ITranslationMemoryManagementService |
Methods
GetActiveTranslationUnit()
Declaration
public TranslationUnit GetActiveTranslationUnit()
Returns
Type | Description |
---|---|
TranslationUnit |
GetAllTranslationUnitsFromActivePage()
Declaration
public List<TranslationUnit> GetAllTranslationUnitsFromActivePage()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<TranslationUnit> |
GetTranslationMemoryManagementService()
Declaration
protected virtual ITranslationMemoryManagementService GetTranslationMemoryManagementService()
Returns
Type | Description |
---|---|
Sdl.TranslationStudio.Api.TranslationMemoryManager.ITranslationMemoryManagementService |
GetTranslationUnitsMarkedForDeletion()
Declaration
public List<TranslationUnit> GetTranslationUnitsMarkedForDeletion()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<TranslationUnit> |
Initialize(IViewContext)
Declaration
protected override void Initialize(IViewContext context)
Parameters
Type | Name | Description |
---|---|---|
IViewContext | context |
Overrides
SelectRow(Int32)
Declaration
public bool SelectRow(int rowindex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowindex |
Returns
Type | Description |
---|---|
System.Boolean |
SetActiveTranslationUnitSource(String)
Sets the source content for the active translation unit.
Declaration
public void SetActiveTranslationUnitSource(string newText)
Parameters
Type | Name | Description |
---|---|---|
System.String | newText |
SetActiveTranslationUnitTarget(String)
Sets the target content for the active translation unit.
Declaration
public void SetActiveTranslationUnitTarget(string newText)
Parameters
Type | Name | Description |
---|---|---|
System.String | newText |
Implements
System.IDisposable