Class SegmentPairCollection
A collection of SegmentPairs. Adds support for indexing by segment number.
Inheritance
Object
SegmentPairCollection
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Sdl.LanguagePlatform.TranslationMemoryApi.LiteBCM.Collection
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public class SegmentPairCollection : IEnumerable<SegmentPair>, IEnumerable
Constructors
SegmentPairCollection(IEnumerable<SegmentPair>)
Initializes a new instance of the SegmentPairCollection class.
Declaration
public SegmentPairCollection(IEnumerable<SegmentPair> enumerable)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<SegmentPair> | enumerable | The enumerable. |
Properties
Item[String]
Gets the SegmentPair with the specified segment number.
Declaration
public SegmentPair this[string segmentNumber] { get; }
Parameters
Type | Name | Description |
---|---|---|
String | segmentNumber | The segment number. |
Property Value
Type | Description |
---|---|
SegmentPair | The SegmentPair. |
Methods
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<SegmentPair> GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator<SegmentPair> | An enumerator that can be used to iterate through the collection. |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable