Class LocalTermbase
Represents a reference to a local (file-based) termbase that can be added to the TermbaseConfiguration of a project.
Inherited Members
Namespace: Sdl.ProjectAutomation.Core
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 |
---|---|---|
System.String | filePath | The absolute path of the termbase file. |
LocalTermbase(String, String, Boolean)
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 |
---|---|---|
System.String | filePath | The absolute path of the termbase file. |
System.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. |
System.Boolean | 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 |
---|---|---|
System.String | filePath | The absolute path of the termbase file. |
System.String | name | Termbase name |
System.String | settingsXML | Project termbase settings |
LocalTermbase(String, String, String, String, Boolean)
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 |
---|---|---|
System.String | filePath | The absolute path of the termbase file. |
System.String | name | Termbase name |
System.String | settingsXML | Project termbase settings. Use null for default settings |
System.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. |
System.Boolean | 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 |
---|---|
System.String |