Class SegmentEditor
Inheritance
Object
SegmentEditor
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Assembly: Sdl.LanguagePlatform.Core.dll
public class SegmentEditor
Constructors
Declaration
Methods
Declaration
public static bool AppendTokens(Segment segment, List<Token> tokens)
Parameters
Returns
Declaration
public static bool ChangeTokens(Segment segment, List<Token> tokens, short startTokenIndex, short length)
Parameters
Type |
Name |
Description |
Segment |
segment |
|
List<Token> |
tokens |
|
Int16 |
startTokenIndex |
|
Int16 |
length |
|
Returns
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 |
|
Int16 |
startTokenIndex |
|
Int16 |
length |
|
Returns
Exceptions
Declaration
public static bool InsertTokens(Segment segment, List<Token> tokens, short startTokenIndex)
Parameters
Type |
Name |
Description |
Segment |
segment |
|
List<Token> |
tokens |
|
Int16 |
startTokenIndex |
|
Returns
Declaration
public static bool InsertTokens(Segment segment, List<Token> tokens, short startTokenIndex, List<Token> tokensInserted)
Parameters
Type |
Name |
Description |
Segment |
segment |
|
List<Token> |
tokens |
|
Int16 |
startTokenIndex |
|
List<Token> |
tokensInserted |
|
Returns