Search Results for

    Show / Hide Table of Contents

    Class ParagraphUnit

    The main element of translatable content. Contains a source and target Paragraph element.

    Inheritance
    Object
    ParagraphUnit
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Sdl.LanguagePlatform.TranslationMemoryApi.LiteBCM
    Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
    Syntax
    public class ParagraphUnit

    Constructors

    ParagraphUnit(Paragraph, Paragraph)

    Initializes a new instance of the ParagraphUnit class.

    Declaration
    public ParagraphUnit(Paragraph source, Paragraph target)
    Parameters
    Type Name Description
    Paragraph source
    Paragraph target

    ParagraphUnit(String, Paragraph, Paragraph)

    Initializes a new instance of the ParagraphUnit class.

    Declaration
    public ParagraphUnit(string id, Paragraph source, Paragraph target)
    Parameters
    Type Name Description
    String id
    Paragraph source
    Paragraph target

    Properties

    Id

    Gets or sets the identifier. Can not be null.

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    String

    The identifier.

    Index

    Gets or sets the index of this instance in the ParentFile.

    Declaration
    public int Index { get; set; }
    Property Value
    Type Description
    Int32

    The index of this instance in the ParentFile.

    IsLocked

    Gets or sets a value indicating whether this instance is locked.

    Declaration
    public bool IsLocked { get; set; }
    Property Value
    Type Description
    Boolean

    true if this instance is locked; otherwise, false.

    ParentFile

    Gets the parent File.

    Declaration
    public File ParentFile { get; }
    Property Value
    Type Description
    File

    The parent File.

    ParentFileId

    Gets the parent File identifier.

    Declaration
    public string ParentFileId { get; }
    Property Value
    Type Description
    String

    The parent File identifier.

    SegmentPairs

    Gets all the source and target Segment in this instance, paired as SegmentPair elements.

    Declaration
    public SegmentPairCollection SegmentPairs { get; }
    Property Value
    Type Description
    SegmentPairCollection

    The segment pairs.

    Source

    Gets or sets the source Paragraph. Can not be null.

    Declaration
    public Paragraph Source { get; set; }
    Property Value
    Type Description
    Paragraph

    The source Paragraph.

    Target

    Gets or sets the target Paragraph. Can not be null.

    Declaration
    public Paragraph Target { get; set; }
    Property Value
    Type Description
    Paragraph

    The target Paragraph.

    Methods

    ToString()

    Converts to string.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    A System.String that represents this instance.

    Overrides
    System.Object.ToString()
    In this article
    Back to top Generated by DocFX