Class LocalTermbase
Represents a reference to a local (file-based) termbase that can be added to the TermbaseConfiguration of a project.
Inherited Members
Namespace: SdlSdl.ProjectAutomationCore
Assembly: Sdl.ProjectAutomation.Core.dll
Syntax
public class LocalTermbase : Termbase
Constructors
LocalTermbase(string)
Constructor with an absolute file path.
Declaration
public LocalTermbase(string filePath)
Parameters
Type | Name | Description |
---|---|---|
string | filePath | The absolute path of the termbase file. |
LocalTermbase(string, string, bool)
Constructor with an absolute file path, a filter name and enabled value.
Declaration
public LocalTermbase(string filePath, string filterName, bool enabled)
Parameters
Type | Name | Description |
---|---|---|
string | filePath | The absolute path of the termbase file. |
string | filterName | The name of the termbase filter that should be used when performing lookups in this termbase. This should be the valid name of a filter that is defined within the termbase. |
bool | enabled | Whether the termbase should be enabled. When set to , the termbase is excluded from
all termbase-related operations.
|
LocalTermbase(string, string, string)
Constructor with an absolute file path.
Declaration
public LocalTermbase(string filePath, string name, string settingsXML)
Parameters
Type | Name | Description |
---|---|---|
string | filePath | The absolute path of the termbase file. |
string | name | Termbase name |
string | settingsXML | Project termbase settings |
LocalTermbase(string, string, string, string, bool)
Constructor with an absolute file path, a filter name and enabled value.
Declaration
public LocalTermbase(string filePath, string name, string settingsXML, string filterName, bool enabled)
Parameters
Type | Name | Description |
---|---|---|
string | filePath | The absolute path of the termbase file. |
string | name | Termbase name |
string | settingsXML | Project termbase settings. Use null for default settings |
string | filterName | The name of the termbase filter that should be used when performing lookups in this termbase. This should be the valid name of a filter that is defined within the termbase. |
bool | enabled | Whether the termbase should be enabled. When set to , the termbase is excluded from
all termbase-related operations.
|
Properties
FilePath
Gets or sets the absolute file path of the termbase file.
Declaration
public string FilePath { get; set; }
Property Value
Type | Description |
---|---|
string |