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
    object
    Collection<ParagraphUnit>
    KeyedCollection<string, ParagraphUnit>
    KeyBasedCollection<string, ParagraphUnit>
    ParagraphUnitCollection
    Implements
    IList<ParagraphUnit>
    ICollection<ParagraphUnit>
    IList
    ICollection
    IReadOnlyList<ParagraphUnit>
    IReadOnlyCollection<ParagraphUnit>
    IEnumerable<ParagraphUnit>
    IEnumerable
    IEquatable<KeyBasedCollection<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)
    KeyedCollection<string, ParagraphUnit>.Contains(string)
    KeyedCollection<string, ParagraphUnit>.TryGetValue(string, out ParagraphUnit)
    KeyedCollection<string, ParagraphUnit>.Remove(string)
    KeyedCollection<string, ParagraphUnit>.ChangeItemKey(ParagraphUnit, string)
    KeyedCollection<string, ParagraphUnit>.ClearItems()
    KeyedCollection<string, ParagraphUnit>.InsertItem(int, ParagraphUnit)
    KeyedCollection<string, ParagraphUnit>.RemoveItem(int)
    KeyedCollection<string, ParagraphUnit>.SetItem(int, ParagraphUnit)
    KeyedCollection<string, ParagraphUnit>.Comparer
    KeyedCollection<string, ParagraphUnit>.this[string]
    KeyedCollection<string, ParagraphUnit>.Dictionary
    Collection<ParagraphUnit>.Add(ParagraphUnit)
    Collection<ParagraphUnit>.Clear()
    Collection<ParagraphUnit>.CopyTo(ParagraphUnit[], int)
    Collection<ParagraphUnit>.Contains(ParagraphUnit)
    Collection<ParagraphUnit>.GetEnumerator()
    Collection<ParagraphUnit>.IndexOf(ParagraphUnit)
    Collection<ParagraphUnit>.Insert(int, ParagraphUnit)
    Collection<ParagraphUnit>.Remove(ParagraphUnit)
    Collection<ParagraphUnit>.RemoveAt(int)
    Collection<ParagraphUnit>.ClearItems()
    Collection<ParagraphUnit>.RemoveItem(int)
    Collection<ParagraphUnit>.SetItem(int, ParagraphUnit)
    Collection<ParagraphUnit>.Count
    Collection<ParagraphUnit>.Items
    Collection<ParagraphUnit>.this[int]
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Sdl.Core.Bcm.BcmModel.Collections
    Assembly: Sdl.Core.Bcm.BcmModel.dll
    Syntax
    public class ParagraphUnitCollection : KeyBasedCollection<string, ParagraphUnit>, IList<ParagraphUnit>, ICollection<ParagraphUnit>, IList, ICollection, IReadOnlyList<ParagraphUnit>, IReadOnlyCollection<ParagraphUnit>, IEnumerable<ParagraphUnit>, IEnumerable, IEquatable<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
    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
    int

    The segment count.

    Methods

    InsertItem(int, ParagraphUnit)

    Inserts an element into the KeyedCollection<TKey, TItem> at the specified index.

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

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

    ParagraphUnit item

    The object to insert.

    Overrides
    KeyedCollection<string, ParagraphUnit>.InsertItem(int, ParagraphUnit)

    Implements

    IList<T>
    ICollection<T>
    IList
    ICollection
    IReadOnlyList<T>
    IReadOnlyCollection<T>
    IEnumerable<T>
    IEnumerable
    IEquatable<T>

    Extension Methods

    ModelExtensions.IsSequenceEqual<TSource>(IList<TSource>, IList<TSource>)
    In this article
    Back to top Generated by DocFX