C# Class PCSX2Bonus.Extensions

Mostra file Open project: CyberFoxHax/PCSXBonus

Public Methods

Method Description
BeginAsync ( this storyboard ) : System.Threading.Tasks.Task
Between ( this src, string findfrom, string findto ) : string
CleanFileName ( this fileName ) : string
Contains ( this source, string toCheck, System.StringComparison comp ) : bool
Escape ( this src ) : string
FileNameNoExt ( this src ) : string
FromHtml ( this src ) : string
GetSizeReadable ( this i ) : string
IsEmpty ( this src ) : bool
Truncate ( this value, int maxLength ) : string
Unescape ( this src ) : string

Method Details

BeginAsync() public static method

public static BeginAsync ( this storyboard ) : System.Threading.Tasks.Task
storyboard this
return System.Threading.Tasks.Task

Between() public static method

public static Between ( this src, string findfrom, string findto ) : string
src this
findfrom string
findto string
return string

CleanFileName() public static method

public static CleanFileName ( this fileName ) : string
fileName this
return string

Contains() public static method

public static Contains ( this source, string toCheck, System.StringComparison comp ) : bool
source this
toCheck string
comp System.StringComparison
return bool

Escape() public static method

public static Escape ( this src ) : string
src this
return string

FileNameNoExt() public static method

public static FileNameNoExt ( this src ) : string
src this
return string

FromHtml() public static method

public static FromHtml ( this src ) : string
src this
return string

GetSizeReadable() public static method

public static GetSizeReadable ( this i ) : string
i this
return string

IsEmpty() public static method

public static IsEmpty ( this src ) : bool
src this
return bool

Truncate() public static method

public static Truncate ( this value, int maxLength ) : string
value this
maxLength int
return string

Unescape() public static method

public static Unescape ( this src ) : string
src this
return string