Class TuLimitsValidatorSettings
Settings object for a TU limits validator
Inherited Members
Namespace: Sdl.LanguagePlatform.TranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
Syntax
public class TuLimitsValidatorSettings
Constructors
TuLimitsValidatorSettings(int?, int?, int?, int?)
Initializes a new instance.
Declaration
public TuLimitsValidatorSettings(int? segmentLengthLimit = null, int? tagNestingLimit = null, int? fieldsLimit = null, int? picklistValuesLimit = null)
Parameters
| Type | Name | Description |
|---|---|---|
| int? | segmentLengthLimit | Maximum length of a TU segment to be considered valid |
| int? | tagNestingLimit | Maximum nesting level of a TU segment to be considered valid |
| int? | fieldsLimit | Maximum number of fields to be considered valid |
| int? | picklistValuesLimit | Maximum number of picklist values |
Properties
FieldsLimit
Gets a value specifying the maximum number of fields to be considered valid
Declaration
public int? FieldsLimit { get; }
Property Value
| Type | Description |
|---|---|
| int? |
PicklistValuesLimit
Gets a value specifying the maximum number of picklist values to be considered valid
Declaration
public int? PicklistValuesLimit { get; }
Property Value
| Type | Description |
|---|---|
| int? |
SegmentLengthLimit
Gets a value specifying the maximum length of a TU segment to be considered valid
Declaration
public int? SegmentLengthLimit { get; }
Property Value
| Type | Description |
|---|---|
| int? |
TagNestingLimit
Gets a value specifying the maximum nesting level of a TU segment to be considered valid
Declaration
public int? TagNestingLimit { get; }
Property Value
| Type | Description |
|---|---|
| int? |