C# 클래스 SILUBS.SharedScrUtils.TextTokenSubstring

Class that represents a sub-string of one or more consecutive source tokens
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 메소드들

메소드 설명
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 ++.

메소드 상세

AddToken() 공개 메소드

Adds a token.
public AddToken ( ITextToken token ) : void
token ITextToken
리턴 void

TextTokenSubstring() 공개 메소드

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.
리턴 System

TextTokenSubstring() 공개 메소드

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.
리턴 System

TextTokenSubstring() 공개 메소드

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.
리턴 System

ToString() 공개 메소드

Returns a T:System.String that represents the current T:System.Object.
public ToString ( ) : string
리턴 string

operator() 공개 정적인 메소드

Implements the operator ++.
public static operator ( ) : TextTokenSubstring
리턴 TextTokenSubstring