Class TranslationUnit
Inheritance
System.Object
TranslationUnit
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.LanguagePlatform.TranslationMemory.dll
public class TranslationUnit : PersistentObject, ITypedKeyValueContainer
Constructors
Declaration
Declaration
public TranslationUnit(Segment sourceSegment, Segment targetSegment)
Parameters
Declaration
public TranslationUnit(TranslationUnit other)
Parameters
Properties
Declaration
public LiftAlignedSpanPairSet AlignmentData { get; set; }
Property Value
Type |
Description |
Sdl.Core.FineGrainedAlignment.Core.LiftAlignedSpanPairSet |
|
Declaration
public DateTime? AlignModelDate { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
Declaration
public ConfirmationLevel ConfirmationLevel { get; set; }
Property Value
Contexts
Declaration
public TuContexts Contexts { get; set; }
Property Value
Declaration
public IDocumentProperties DocumentProperties { get; set; }
Property Value
Declaration
public ISegmentPair DocumentSegmentPair { get; set; }
Property Value
Declaration
public FieldValues FieldValues { get; set; }
Property Value
Declaration
public IFileProperties FileProperties { get; set; }
Property Value
Declaration
public TranslationUnitFormat Format { get; set; }
Property Value
IdContexts
Declaration
public TuIdContexts IdContexts { get; set; }
Property Value
Declaration
public DateTime? InsertDate { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
Declaration
public TranslationUnitOrigin Origin { get; set; }
Property Value
Declaration
public Segment SourceSegment { get; set; }
Property Value
StructureContexts
Declaration
public string[] StructureContexts { get; set; }
Property Value
Type |
Description |
System.String[] |
|
Declaration
public SystemFields SystemFields { get; set; }
Property Value
Declaration
public Segment TargetSegment { get; set; }
Property Value
Methods
Declaration
public void CheckAndComputeTagAssociations()
Declaration
public List<Placeable> ComputePlaceables()
Returns
Type |
Description |
System.Collections.Generic.List<Placeable> |
|
Declaration
Declaration
public void DeleteTags(Segment.DeleteTagsAction action)
Parameters
Declaration
public TranslationUnit Duplicate()
Returns
Declaration
public TranslationUnit ExtractFragment(SegmentRange sourceRange, SegmentRange targetRange)
Parameters
Returns
Declaration
public bool GenerateAlignmentData()
Returns
Type |
Description |
System.Boolean |
|
Declaration
public int GetMaxTagAnchor()
Returns
Type |
Description |
System.Int32 |
|
Declaration
public static FieldValueType GetSystemFieldType(string fieldName)
Parameters
Type |
Name |
Description |
System.String |
fieldName |
|
Returns
Declaration
public FieldValueType GetType(string fieldName)
Parameters
Type |
Name |
Description |
System.String |
fieldName |
|
Returns
Declaration
public FieldValue GetValue(string fieldName)
Parameters
Type |
Name |
Description |
System.String |
fieldName |
|
Returns
Declaration
public FieldValue GetValue(string fieldName, FieldValueType t)
Parameters
Returns
Declaration
Returns
Type |
Description |
System.Boolean |
|
Declaration
public void SetValue(FieldValue fv, bool addIfMissing)
Parameters
Type |
Name |
Description |
FieldValue |
fv |
|
System.Boolean |
addIfMissing |
|
Declaration
Declaration
public ErrorCode Validate()
Returns
Declaration
public ErrorCode Validate(Segment.ValidationMode mode)
Parameters
Returns
Implements