C# Class Sport.Mobile.Shared.Extensions

ファイルを表示 Open project: xamarin/Sport

Public Methods

Method Description
ContainsNoCase ( this s, string contains ) : bool
Fmt ( this s ) : string
GetChallengeeWinningGames ( this challenge ) : Sport.Mobile.Shared.GameResult[]
GetChallengerWinningGames ( this challenge ) : Sport.Mobile.Shared.GameResult[]
InvolvesAthlete ( this c, string athleteId ) : bool
InvolvesAthletes ( this c, string athleteA, string athleteB ) : bool
InvolvingAthlete ( this list, string athleteId ) : Challenge
IsEmpty ( this s ) : bool
Opponent ( this c, string athleteId ) : Athlete
ToKeyValuePair ( this querystring ) : string>.Dictionary
ToOrdinal ( this date ) : string
TrimEnd ( this s, string toTrim ) : string
TrimStart ( this s, string toTrim ) : string
ValidateMatchResults ( this challenge ) : string

Method Details

ContainsNoCase() public static method

public static ContainsNoCase ( this s, string contains ) : bool
s this
contains string
return bool

Fmt() public static method

public static Fmt ( this s ) : string
s this
return string

GetChallengeeWinningGames() public static method

public static GetChallengeeWinningGames ( this challenge ) : Sport.Mobile.Shared.GameResult[]
challenge this
return Sport.Mobile.Shared.GameResult[]

GetChallengerWinningGames() public static method

public static GetChallengerWinningGames ( this challenge ) : Sport.Mobile.Shared.GameResult[]
challenge this
return Sport.Mobile.Shared.GameResult[]

InvolvesAthlete() public static method

public static InvolvesAthlete ( this c, string athleteId ) : bool
c this
athleteId string
return bool

InvolvesAthletes() public static method

public static InvolvesAthletes ( this c, string athleteA, string athleteB ) : bool
c this
athleteA string
athleteB string
return bool

InvolvingAthlete() public static method

public static InvolvingAthlete ( this list, string athleteId ) : Challenge
list this
athleteId string
return Challenge

IsEmpty() public static method

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

Opponent() public static method

public static Opponent ( this c, string athleteId ) : Athlete
c this
athleteId string
return Athlete

ToKeyValuePair() public static method

public static ToKeyValuePair ( this querystring ) : string>.Dictionary
querystring this
return string>.Dictionary

ToOrdinal() public static method

public static ToOrdinal ( this date ) : string
date this
return string

TrimEnd() public static method

public static TrimEnd ( this s, string toTrim ) : string
s this
toTrim string
return string

TrimStart() public static method

public static TrimStart ( this s, string toTrim ) : string
s this
toTrim string
return string

ValidateMatchResults() public static method

public static ValidateMatchResults ( this challenge ) : string
challenge this
return string