Class TmApiImportExport
Inheritance
System.Object
TmApiImportExport
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()
Assembly: Sdl.Core.TM.ImportExport.dll
Syntax
public class TmApiImportExport : IImportDestinationAsync, IImportDestination, IExportOriginAsync, IExportOrigin
Constructors
Declaration
[Obsolete("Use CreateAsync")]
public TmApiImportExport(ITranslationMemoryServiceAsync service, Container container, PersistentObjectToken tmId)
Parameters
Type |
Name |
Description |
Sdl.LanguagePlatform.TranslationMemoryImpl.ITranslationMemoryServiceAsync |
service |
|
Sdl.LanguagePlatform.TranslationMemoryImpl.Container |
container |
|
PersistentObjectToken |
tmId |
|
Declaration
public TmApiImportExport(ITranslationMemoryServiceAsync service, Container container, TranslationMemorySetup tm)
Parameters
Type |
Name |
Description |
Sdl.LanguagePlatform.TranslationMemoryImpl.ITranslationMemoryServiceAsync |
service |
|
Sdl.LanguagePlatform.TranslationMemoryImpl.Container |
container |
|
Sdl.LanguagePlatform.TranslationMemoryImpl.TranslationMemorySetup |
tm |
|
Properties
BuiltinRecognizers
Declaration
public BuiltinRecognizers BuiltinRecognizers { get; }
Property Value
CreationDate
Declaration
public DateTime CreationDate { get; }
Property Value
Type |
Description |
System.DateTime |
|
CreationUserName
Declaration
public string CreationUserName { get; }
Property Value
Type |
Description |
System.String |
|
FieldDefinitions
Declaration
public FieldDefinitions FieldDefinitions { get; }
Property Value
IncludesContextContent
Declaration
public virtual bool IncludesContextContent { get; }
Property Value
Type |
Description |
System.Boolean |
|
LanguageResources
Declaration
public LanguageResource[] LanguageResources { get; }
Property Value
Type |
Description |
Sdl.LanguagePlatform.TranslationMemoryImpl.LanguageResource[] |
|
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
SourceLanguage
Declaration
public CultureCode SourceLanguage { get; }
Property Value
Type |
Description |
Sdl.Core.Globalization.CultureCode |
|
TargetLanguage
Declaration
public CultureCode TargetLanguage { get; }
Property Value
Type |
Description |
Sdl.Core.Globalization.CultureCode |
|
TextContextMatchType
Declaration
public TextContextMatchType TextContextMatchType { get; }
Property Value
TokenizerFlags
Declaration
public TokenizerFlags TokenizerFlags { get; }
Property Value
UsesIdContextMatch
Declaration
public bool UsesIdContextMatch { get; }
Property Value
Type |
Description |
System.Boolean |
|
UsesLegacyHashes
Declaration
public bool UsesLegacyHashes { get; }
Property Value
Type |
Description |
System.Boolean |
|
WordCountFlags
Declaration
public WordCountFlags WordCountFlags { get; }
Property Value
Methods
Declaration
[Obsolete("Use AddTranslationUnitsMaskedAsync")]
public ImportResult[] AddTranslationUnits(TranslationUnit[] tus, ImportSettings settings)
Parameters
Returns
Declaration
[Obsolete("Use AddTranslationUnitsMaskedAsync")]
public ImportResult[] AddTranslationUnitsMask(TranslationUnit[] tus, ImportSettings settings, bool[] mask)
Parameters
Returns
Declaration
public Task<ImportResult[]> AddTranslationUnitsMaskedAsync(TranslationUnit[] tus, ImportSettings settings, bool[] mask)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<ImportResult[]> |
|
Declaration
public static Task<TmApiImportExport> CreateAsync(ITranslationMemoryServiceAsync service, Container container, PersistentObjectToken tmId)
Parameters
Type |
Name |
Description |
Sdl.LanguagePlatform.TranslationMemoryImpl.ITranslationMemoryServiceAsync |
service |
|
Sdl.LanguagePlatform.TranslationMemoryImpl.Container |
container |
|
PersistentObjectToken |
tmId |
|
Returns
GetFieldDefinitionsAsync()
Declaration
public Task<FieldDefinitions> GetFieldDefinitionsAsync()
Returns
GetLanguageResourcesAsync()
Declaration
public Task<LanguageResource[]> GetLanguageResourcesAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<Sdl.LanguagePlatform.TranslationMemoryImpl.LanguageResource[]> |
|
Declaration
public TranslationUnit[] GetTranslationUnits(ref RegularIterator iter)
Parameters
Returns
Declaration
public Task<TranslationUnit[]> GetTranslationUnitsAsync(RegularIterator iter)
Parameters
Returns
Declaration
public void UpdateFieldDefinitions(FieldDefinitions mergedFieldDefinitions)
Parameters
Declaration
public Task UpdateFieldDefinitionsAsync(FieldDefinitions mergedFieldDefinitions)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Declaration
public void UpdateLanguageResources(List<LanguageResource> mergedLanguageResources)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<Sdl.LanguagePlatform.TranslationMemoryImpl.LanguageResource> |
mergedLanguageResources |
|
Declaration
public Task UpdateLanguageResourcesAsync(List<LanguageResource> mergedLanguageResources)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<Sdl.LanguagePlatform.TranslationMemoryImpl.LanguageResource> |
mergedLanguageResources |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Implements