Class TermbaseConfiguration
This class represents all termbase-related settings that control which termbases are used within a project. To get the termbase configuration of a project, use GetTermbaseConfiguration(Boolean). To update the termbase configuration, use UpdateTermbaseConfiguration(TermbaseConfiguration).
Inheritance
Inherited Members
Namespace: Sdl.ProjectAutomation.Core
Assembly: Sdl.ProjectAutomation.Core.dll
Syntax
public class TermbaseConfiguration
Constructors
TermbaseConfiguration()
Declaration
public TermbaseConfiguration()
Properties
LanguageIndexes
Gets or sets the list of language indexes, which map a project language (source or target) onto a termbase index of the default termbase (the default termbase is the first termbase in the Termbases list). There has to be a mapping for the project source language. If there is no mapping for a certain target language, no terminology lookup will be performed for that target language.
Declaration
public List<TermbaseLanguageIndex> LanguageIndexes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<TermbaseLanguageIndex> |
Termbases
Gets or sets the list of termbases in this configuration. The first termbase in the list if the default termbase.
Declaration
public List<Termbase> Termbases { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Termbase> |
TermbaseServerUri
Gets or sets the connection URI for the termbase server. This should be of the form "http[s]://hostname[:port]"
Can be null
if all the termbases
in the list of termbases (see Termbases) are file-based.
Declaration
public Uri TermbaseServerUri { get; set; }
Property Value
Type | Description |
---|---|
System.Uri |
Remarks
All the server-based termbases in the Termbases list should reside on the same server, identified by this URI. You cannot use termbases from two different servers within the same configuration.
TermRecognitionOptions
Gets or sets the terminology recognition options, which control the terminology lookup process.
Declaration
public TermRecognitionOptions TermRecognitionOptions { get; set; }
Property Value
Type | Description |
---|---|
TermRecognitionOptions |