C# Class Nintenlord.Event_assembler.StringExtensions

Extensions and helper methods to string class
Afficher le fichier Open project: Diegoisawesome/AwesomeMapEditor-old

Méthodes publiques

Méthode Description
Amount ( this text, char value ) : int
AmountInTheBeginning ( this text, char value ) : int
AmountInTheEnd ( this text, char value ) : int
ContainsAnyOf ( this text, char toContain ) : bool
ContainsNonWhiteSpace ( this text ) : bool
ContainsWhiteSpace ( this text ) : bool
GetCoordinates ( this parameter ) : int[]
GetIndexes ( this text, string toFind ) : int[]
GetLableName ( this parameter ) : string
GetValue ( this parameter ) : int
IndexOf ( this text, Predicate match ) : int
IsBinary ( this parameter ) : bool
IsCoordinate ( this parameter ) : bool
IsHexByte ( this parameter ) : bool
IsHexNumber ( this parameter ) : bool
IsHexWord ( this parameter ) : bool
IsLable ( this parameter ) : bool
IsParenthesis ( this parameter ) : bool
IsValidNumber ( this parameter ) : bool
LastIndexOf ( this text, Predicate match ) : int
Repeat ( this text, int toLength ) : string
ReplaceEach ( this text, string toReplace, string with ) : string
Same ( string a, int index1, string b, int index2, int length ) : bool
Split ( this text ) : string[]
Split ( this line, char separators, char uniters ) : string[]
ToLinedString ( this lines ) : string
TryGetValue ( this s, int &value ) : bool

Private Methods

Méthode Description
IsHexDigit ( this c ) : bool
IsNewLine ( this s ) : bool

Method Details

Amount() public static méthode

public static Amount ( this text, char value ) : int
text this
value char
Résultat int

AmountInTheBeginning() public static méthode

public static AmountInTheBeginning ( this text, char value ) : int
text this
value char
Résultat int

AmountInTheEnd() public static méthode

public static AmountInTheEnd ( this text, char value ) : int
text this
value char
Résultat int

ContainsAnyOf() public static méthode

public static ContainsAnyOf ( this text, char toContain ) : bool
text this
toContain char
Résultat bool

ContainsNonWhiteSpace() public static méthode

public static ContainsNonWhiteSpace ( this text ) : bool
text this
Résultat bool

ContainsWhiteSpace() public static méthode

public static ContainsWhiteSpace ( this text ) : bool
text this
Résultat bool

GetCoordinates() public static méthode

public static GetCoordinates ( this parameter ) : int[]
parameter this
Résultat int[]

GetIndexes() public static méthode

public static GetIndexes ( this text, string toFind ) : int[]
text this
toFind string
Résultat int[]

GetLableName() public static méthode

public static GetLableName ( this parameter ) : string
parameter this
Résultat string

GetValue() public static méthode

public static GetValue ( this parameter ) : int
parameter this
Résultat int

IndexOf() public static méthode

public static IndexOf ( this text, Predicate match ) : int
text this
match Predicate
Résultat int

IsBinary() public static méthode

public static IsBinary ( this parameter ) : bool
parameter this
Résultat bool

IsCoordinate() public static méthode

public static IsCoordinate ( this parameter ) : bool
parameter this
Résultat bool

IsHexByte() public static méthode

public static IsHexByte ( this parameter ) : bool
parameter this
Résultat bool

IsHexNumber() public static méthode

public static IsHexNumber ( this parameter ) : bool
parameter this
Résultat bool

IsHexWord() public static méthode

public static IsHexWord ( this parameter ) : bool
parameter this
Résultat bool

IsLable() public static méthode

public static IsLable ( this parameter ) : bool
parameter this
Résultat bool

IsParenthesis() public static méthode

public static IsParenthesis ( this parameter ) : bool
parameter this
Résultat bool

IsValidNumber() public static méthode

public static IsValidNumber ( this parameter ) : bool
parameter this
Résultat bool

LastIndexOf() public static méthode

public static LastIndexOf ( this text, Predicate match ) : int
text this
match Predicate
Résultat int

Repeat() public static méthode

public static Repeat ( this text, int toLength ) : string
text this
toLength int
Résultat string

ReplaceEach() public static méthode

public static ReplaceEach ( this text, string toReplace, string with ) : string
text this
toReplace string
with string
Résultat string

Same() public static méthode

public static Same ( string a, int index1, string b, int index2, int length ) : bool
a string
index1 int
b string
index2 int
length int
Résultat bool

Split() public static méthode

public static Split ( this text ) : string[]
text this
Résultat string[]

Split() public static méthode

public static Split ( this line, char separators, char uniters ) : string[]
line this
separators char
uniters char
Résultat string[]

ToLinedString() public static méthode

public static ToLinedString ( this lines ) : string
lines this
Résultat string

TryGetValue() public static méthode

public static TryGetValue ( this s, int &value ) : bool
s this
value int
Résultat bool