Search Results for

    Show / Hide Table of Contents

    Class ParagraphUnitCollection

    A KeyBasedCollection<TKey, TValue> of ParagraphUnits. Adds support for setting the parent elements and additonal helper properties.

    Inheritance
    System.Object
    KeyBasedCollection<System.String, ParagraphUnit>
    ParagraphUnitCollection
    Implements
    System.IEquatable<KeyBasedCollection<System.String, ParagraphUnit>>
    Inherited Members
    KeyBasedCollection<String, ParagraphUnit>.KeySelector
    KeyBasedCollection<String, ParagraphUnit>.ForEach(Action<ParagraphUnit>)
    KeyBasedCollection<String, ParagraphUnit>.Equals(KeyBasedCollection<String, ParagraphUnit>)
    KeyBasedCollection<String, ParagraphUnit>.Equals(Object)
    KeyBasedCollection<String, ParagraphUnit>.GetHashCode()
    KeyBasedCollection<String, ParagraphUnit>.GetKeyForItem(ParagraphUnit)
    Namespace: Sdl.Core.Bcm.BcmModel.Collections
    Assembly: Sdl.Core.Bcm.BcmModel.dll
    Syntax
    public class ParagraphUnitCollection : KeyBasedCollection<string, ParagraphUnit>

    Constructors

    ParagraphUnitCollection()

    Initializes a new instance of the ParagraphUnitCollection class.

    Declaration
    public ParagraphUnitCollection()

    Properties

    AllSegmentPairs

    Gets all segment pairs.

    Declaration
    public IEnumerable<SegmentPair> AllSegmentPairs { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<SegmentPair>

    All segment pairs.

    ParentFile

    Gets or sets the parent file.

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

    The parent file.

    SegmentCount

    Gets the segment count.

    Declaration
    public int SegmentCount { get; }
    Property Value
    Type Description
    System.Int32

    The segment count.

    Methods

    InsertItem(Int32, ParagraphUnit)

    Inserts an element into the System.Collections.ObjectModel.KeyedCollection`2 at the specified index.

    Declaration
    protected override void InsertItem(int index, ParagraphUnit item)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index at which item should be inserted.

    ParagraphUnit item

    The object to insert.

    Implements

    System.IEquatable<>

    On this page

    Back to top Generated by DocFX