C# 클래스 Nintenlord.Utility.StringExtensions

Extensions and helper methods to string class
파일 보기 프로젝트 열기: Diegoisawesome/AwesomeMapEditor-old

공개 메소드들

메소드 설명
Amount ( this text, char value ) : int
Amount ( this text, char value, int start, int length ) : int
AmountInTheBeginning ( this text, char value ) : int
AmountInTheEnd ( this text, char value ) : int
AmountOfLines ( this text ) : int
Contains ( this text, Predicate test ) : bool
ContainsAnyOf ( this text, char toContain ) : bool
ContainsNonWhiteSpace ( this text ) : bool
ContainsWhiteSpace ( this text ) : bool
FirstNonWhiteSpaceIs ( this s, char c ) : bool
GetIndexes ( this text, string toFind ) : int[]
GetLableName ( this parameter ) : string
GetMathStringValue ( this s, int &result ) : bool
GetMathStringValue ( this s ) : int?
GetValue ( this parameter ) : int
IndexOf ( this text, Predicate match ) : int
IsBinary ( this parameter ) : bool
IsHexByte ( this parameter ) : bool
IsHexNumber ( this parameter ) : bool
IsHexWord ( this parameter ) : bool
IsLable ( this parameter ) : bool
IsValidNumber ( this parameter ) : bool
LastIndexOf ( this text, Predicate match ) : int
Remove ( this bldr, int length ) : StringBuilder
RemoveFromEnd ( this bldr, int length ) : StringBuilder
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, ICollection separators, char>.Dictionary uniters ) : string[]
Split ( this line, ICollection separators, char>.Dictionary uniters, int &nonClosedParenthesis ) : string[]
Split ( this line, char separators, char uniters ) : string[]
ToLinedString ( this lines ) : string
TryGetValue ( this s, int &value ) : bool

비공개 메소드들

메소드 설명
RemoveAll ( this bldr ) : StringBuilder

메소드 상세

Amount() 공개 정적인 메소드

public static Amount ( this text, char value ) : int
text this
value char
리턴 int

Amount() 공개 정적인 메소드

public static Amount ( this text, char value, int start, int length ) : int
text this
value char
start int
length int
리턴 int

AmountInTheBeginning() 공개 정적인 메소드

public static AmountInTheBeginning ( this text, char value ) : int
text this
value char
리턴 int

AmountInTheEnd() 공개 정적인 메소드

public static AmountInTheEnd ( this text, char value ) : int
text this
value char
리턴 int

AmountOfLines() 공개 정적인 메소드

public static AmountOfLines ( this text ) : int
text this
리턴 int

Contains() 공개 정적인 메소드

public static Contains ( this text, Predicate test ) : bool
text this
test Predicate
리턴 bool

ContainsAnyOf() 공개 정적인 메소드

public static ContainsAnyOf ( this text, char toContain ) : bool
text this
toContain char
리턴 bool

ContainsNonWhiteSpace() 공개 정적인 메소드

public static ContainsNonWhiteSpace ( this text ) : bool
text this
리턴 bool

ContainsWhiteSpace() 공개 정적인 메소드

public static ContainsWhiteSpace ( this text ) : bool
text this
리턴 bool

FirstNonWhiteSpaceIs() 공개 정적인 메소드

public static FirstNonWhiteSpaceIs ( this s, char c ) : bool
s this
c char
리턴 bool

GetIndexes() 공개 정적인 메소드

public static GetIndexes ( this text, string toFind ) : int[]
text this
toFind string
리턴 int[]

GetLableName() 공개 정적인 메소드

public static GetLableName ( this parameter ) : string
parameter this
리턴 string

GetMathStringValue() 공개 정적인 메소드

public static GetMathStringValue ( this s, int &result ) : bool
s this
result int
리턴 bool

GetMathStringValue() 공개 정적인 메소드

public static GetMathStringValue ( this s ) : int?
s this
리턴 int?

GetValue() 공개 정적인 메소드

public static GetValue ( this parameter ) : int
parameter this
리턴 int

IndexOf() 공개 정적인 메소드

public static IndexOf ( this text, Predicate match ) : int
text this
match Predicate
리턴 int

IsBinary() 공개 정적인 메소드

public static IsBinary ( this parameter ) : bool
parameter this
리턴 bool

IsHexByte() 공개 정적인 메소드

public static IsHexByte ( this parameter ) : bool
parameter this
리턴 bool

IsHexNumber() 공개 정적인 메소드

public static IsHexNumber ( this parameter ) : bool
parameter this
리턴 bool

IsHexWord() 공개 정적인 메소드

public static IsHexWord ( this parameter ) : bool
parameter this
리턴 bool

IsLable() 공개 정적인 메소드

public static IsLable ( this parameter ) : bool
parameter this
리턴 bool

IsValidNumber() 공개 정적인 메소드

public static IsValidNumber ( this parameter ) : bool
parameter this
리턴 bool

LastIndexOf() 공개 정적인 메소드

public static LastIndexOf ( this text, Predicate match ) : int
text this
match Predicate
리턴 int

Remove() 공개 정적인 메소드

public static Remove ( this bldr, int length ) : StringBuilder
bldr this
length int
리턴 StringBuilder

RemoveFromEnd() 공개 정적인 메소드

public static RemoveFromEnd ( this bldr, int length ) : StringBuilder
bldr this
length int
리턴 StringBuilder

Repeat() 공개 정적인 메소드

public static Repeat ( this text, int toLength ) : string
text this
toLength int
리턴 string

ReplaceEach() 공개 정적인 메소드

public static ReplaceEach ( this text, string toReplace, string with ) : string
text this
toReplace string
with string
리턴 string

Same() 공개 정적인 메소드

public static Same ( string a, int index1, string b, int index2, int length ) : bool
a string
index1 int
b string
index2 int
length int
리턴 bool

Split() 공개 정적인 메소드

public static Split ( this text ) : string[]
text this
리턴 string[]

Split() 공개 정적인 메소드

public static Split ( this line, ICollection separators, char>.Dictionary uniters ) : string[]
line this
separators ICollection
uniters char>.Dictionary
리턴 string[]

Split() 공개 정적인 메소드

public static Split ( this line, ICollection separators, char>.Dictionary uniters, int &nonClosedParenthesis ) : string[]
line this
separators ICollection
uniters char>.Dictionary
nonClosedParenthesis int
리턴 string[]

Split() 공개 정적인 메소드

public static Split ( this line, char separators, char uniters ) : string[]
line this
separators char
uniters char
리턴 string[]

ToLinedString() 공개 정적인 메소드

public static ToLinedString ( this lines ) : string
lines this
리턴 string

TryGetValue() 공개 정적인 메소드

public static TryGetValue ( this s, int &value ) : bool
s this
value int
리턴 bool