Class SegmentEditor
Inheritance
System.Object
SegmentEditor
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.Core.dll
public class SegmentEditor
Constructors
Declaration
Methods
Declaration
public static bool AppendTokens(Segment segment, List<Token> tokens)
Parameters
Type |
Name |
Description |
Segment |
segment |
|
System.Collections.Generic.List<Token> |
tokens |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool ChangeTokens(Segment segment, List<Token> tokens, short startTokenIndex, short length)
Parameters
Type |
Name |
Description |
Segment |
segment |
|
System.Collections.Generic.List<Token> |
tokens |
|
System.Int16 |
startTokenIndex |
|
System.Int16 |
length |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static void CleanSegment(Segment segment)
Parameters
Type |
Name |
Description |
Segment |
segment |
|
Declaration
public static Segment Clone(Segment other)
Parameters
Type |
Name |
Description |
Segment |
other |
|
Returns
Declaration
public static bool DeleteTokens(Segment segment, short startTokenIndex, short length)
Parameters
Type |
Name |
Description |
Segment |
segment |
|
System.Int16 |
startTokenIndex |
|
System.Int16 |
length |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool InsertTokens(Segment segment, List<Token> tokens, short startTokenIndex)
Parameters
Type |
Name |
Description |
Segment |
segment |
|
System.Collections.Generic.List<Token> |
tokens |
|
System.Int16 |
startTokenIndex |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool InsertTokens(Segment segment, List<Token> tokens, short startTokenIndex, List<Token> tokensInserted)
Parameters
Type |
Name |
Description |
Segment |
segment |
|
System.Collections.Generic.List<Token> |
tokens |
|
System.Int16 |
startTokenIndex |
|
System.Collections.Generic.List<Token> |
tokensInserted |
|
Returns
Type |
Description |
System.Boolean |
|