C# Class SILUBS.SharedScrUtils.TextTokenSubstring

Class that represents a sub-string of one or more consecutive source tokens
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Méthodes publiques

Méthode Description
AddToken ( ITextToken token ) : void

Adds a token.

TextTokenSubstring ( ITextToken token, int offset, int length ) : System

Initializes a new instance of the TextTokenSubstring class with a single source token.

TextTokenSubstring ( ITextToken token, int offset, int length, string msg ) : System

Initializes a new instance of the TextTokenSubstring class with a single source token.

TextTokenSubstring ( TextTokenSubstring tts, string msg ) : System

Initializes a new instance of the TextTokenSubstring class based on another TextTokenSubstring, but having a different Message.

ToString ( ) : string

Returns a T:System.String that represents the current T:System.Object.

operator ( ) : TextTokenSubstring

Implements the operator ++.

Method Details

AddToken() public méthode

Adds a token.
public AddToken ( ITextToken token ) : void
token ITextToken
Résultat void

TextTokenSubstring() public méthode

Initializes a new instance of the TextTokenSubstring class with a single source token.
public TextTokenSubstring ( ITextToken token, int offset, int length ) : System
token ITextToken The token.
offset int The offset.
length int The length.
Résultat System

TextTokenSubstring() public méthode

Initializes a new instance of the TextTokenSubstring class with a single source token.
public TextTokenSubstring ( ITextToken token, int offset, int length, string msg ) : System
token ITextToken The token.
offset int The offset.
length int The length.
msg string The error message.
Résultat System

TextTokenSubstring() public méthode

Initializes a new instance of the TextTokenSubstring class based on another TextTokenSubstring, but having a different Message.
public TextTokenSubstring ( TextTokenSubstring tts, string msg ) : System
tts TextTokenSubstring The instance to copy from.
msg string The message.
Résultat System

ToString() public méthode

Returns a T:System.String that represents the current T:System.Object.
public ToString ( ) : string
Résultat string

operator() public static méthode

Implements the operator ++.
public static operator ( ) : TextTokenSubstring
Résultat TextTokenSubstring