C# 클래스 AGS.CScript.Compiler.FastString

Optimised class to allow Substrings to be done without creating new copies of the string data in memory
파일 보기 프로젝트 열기: adventuregamestudio/ags 1 사용 예제들

공개 메소드들

메소드 설명
FastString ( string source ) : System
FastString ( string source, int offset ) : System
IndexOf ( char text ) : int
IndexOf ( char text, int offset ) : int
IndexOf ( string text ) : int
IndexOf ( string text, int offset ) : int
StartsWith ( string text ) : bool
Substring ( int offset ) : FastString
Substring ( int offset, int length ) : string
ToString ( ) : string
Trim ( ) : FastString
this ( int index ) : char

메소드 상세

FastString() 공개 메소드

public FastString ( string source ) : System
source string
리턴 System

FastString() 공개 메소드

public FastString ( string source, int offset ) : System
source string
offset int
리턴 System

IndexOf() 공개 메소드

public IndexOf ( char text ) : int
text char
리턴 int

IndexOf() 공개 메소드

public IndexOf ( char text, int offset ) : int
text char
offset int
리턴 int

IndexOf() 공개 메소드

public IndexOf ( string text ) : int
text string
리턴 int

IndexOf() 공개 메소드

public IndexOf ( string text, int offset ) : int
text string
offset int
리턴 int

StartsWith() 공개 메소드

public StartsWith ( string text ) : bool
text string
리턴 bool

Substring() 공개 메소드

public Substring ( int offset ) : FastString
offset int
리턴 FastString

Substring() 공개 메소드

public Substring ( int offset, int length ) : string
offset int
length int
리턴 string

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

Trim() 공개 메소드

public Trim ( ) : FastString
리턴 FastString

this() 공개 메소드

public this ( int index ) : char
index int
리턴 char