C# Class AGS.CScript.Compiler.FastString

Optimised class to allow Substrings to be done without creating new copies of the string data in memory
Afficher le fichier Open project: adventuregamestudio/ags Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

FastString() public méthode

public FastString ( string source ) : System
source string
Résultat System

FastString() public méthode

public FastString ( string source, int offset ) : System
source string
offset int
Résultat System

IndexOf() public méthode

public IndexOf ( char text ) : int
text char
Résultat int

IndexOf() public méthode

public IndexOf ( char text, int offset ) : int
text char
offset int
Résultat int

IndexOf() public méthode

public IndexOf ( string text ) : int
text string
Résultat int

IndexOf() public méthode

public IndexOf ( string text, int offset ) : int
text string
offset int
Résultat int

StartsWith() public méthode

public StartsWith ( string text ) : bool
text string
Résultat bool

Substring() public méthode

public Substring ( int offset ) : FastString
offset int
Résultat FastString

Substring() public méthode

public Substring ( int offset, int length ) : string
offset int
length int
Résultat string

ToString() public méthode

public ToString ( ) : string
Résultat string

Trim() public méthode

public Trim ( ) : FastString
Résultat FastString

this() public méthode

public this ( int index ) : char
index int
Résultat char