C# Class MBGen.Extensions

Exibir arquivo Open project: TheBerkin/MoistBanana

Public Methods

Method Description
Capitalize ( this str, WordFormat capFormat ) : string
FindClosingCurlyBracket ( this str, int start ) : int
FindClosingSquareBracket ( this str, int start ) : int
GetLineNumberFromIndex ( this text, int index, int &column ) : int
GetRandomRect ( this bitmap, int minWidth, int minHeight, LongRandom rand ) : Rectangle
GetSelectorSubs ( this str, int start ) : int[]
PermitsCap ( this c ) : bool
ReadLongString ( this reader ) : string
ReadStringArray ( this reader ) : string[]
StartsWithVowel ( this str ) : bool
ToRoman ( this number ) : string
WriteLongString ( this writer, string value ) : void
WriteStringArray ( this writer, string array ) : void

Method Details

Capitalize() public static method

public static Capitalize ( this str, WordFormat capFormat ) : string
str this
capFormat WordFormat
return string

FindClosingCurlyBracket() public static method

public static FindClosingCurlyBracket ( this str, int start ) : int
str this
start int
return int

FindClosingSquareBracket() public static method

public static FindClosingSquareBracket ( this str, int start ) : int
str this
start int
return int

GetLineNumberFromIndex() public static method

public static GetLineNumberFromIndex ( this text, int index, int &column ) : int
text this
index int
column int
return int

GetRandomRect() public static method

public static GetRandomRect ( this bitmap, int minWidth, int minHeight, LongRandom rand ) : Rectangle
bitmap this
minWidth int
minHeight int
rand LongRandom
return System.Drawing.Rectangle

GetSelectorSubs() public static method

public static GetSelectorSubs ( this str, int start ) : int[]
str this
start int
return int[]

PermitsCap() public static method

public static PermitsCap ( this c ) : bool
c this
return bool

ReadLongString() public static method

public static ReadLongString ( this reader ) : string
reader this
return string

ReadStringArray() public static method

public static ReadStringArray ( this reader ) : string[]
reader this
return string[]

StartsWithVowel() public static method

public static StartsWithVowel ( this str ) : bool
str this
return bool

ToRoman() public static method

public static ToRoman ( this number ) : string
number this
return string

WriteLongString() public static method

public static WriteLongString ( this writer, string value ) : void
writer this
value string
return void

WriteStringArray() public static method

public static WriteStringArray ( this writer, string array ) : void
writer this
array string
return void