C# Class Sport.Mobile.Shared.Extensions

Afficher le fichier Open project: xamarin/Sport

Méthodes publiques

Méthode 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 méthode

public static ContainsNoCase ( this s, string contains ) : bool
s this
contains string
Résultat bool

Fmt() public static méthode

public static Fmt ( this s ) : string
s this
Résultat string

GetChallengeeWinningGames() public static méthode

public static GetChallengeeWinningGames ( this challenge ) : Sport.Mobile.Shared.GameResult[]
challenge this
Résultat Sport.Mobile.Shared.GameResult[]

GetChallengerWinningGames() public static méthode

public static GetChallengerWinningGames ( this challenge ) : Sport.Mobile.Shared.GameResult[]
challenge this
Résultat Sport.Mobile.Shared.GameResult[]

InvolvesAthlete() public static méthode

public static InvolvesAthlete ( this c, string athleteId ) : bool
c this
athleteId string
Résultat bool

InvolvesAthletes() public static méthode

public static InvolvesAthletes ( this c, string athleteA, string athleteB ) : bool
c this
athleteA string
athleteB string
Résultat bool

InvolvingAthlete() public static méthode

public static InvolvingAthlete ( this list, string athleteId ) : Challenge
list this
athleteId string
Résultat Challenge

IsEmpty() public static méthode

public static IsEmpty ( this s ) : bool
s this
Résultat bool

Opponent() public static méthode

public static Opponent ( this c, string athleteId ) : Athlete
c this
athleteId string
Résultat Athlete

ToKeyValuePair() public static méthode

public static ToKeyValuePair ( this querystring ) : string>.Dictionary
querystring this
Résultat string>.Dictionary

ToOrdinal() public static méthode

public static ToOrdinal ( this date ) : string
date this
Résultat string

TrimEnd() public static méthode

public static TrimEnd ( this s, string toTrim ) : string
s this
toTrim string
Résultat string

TrimStart() public static méthode

public static TrimStart ( this s, string toTrim ) : string
s this
toTrim string
Résultat string

ValidateMatchResults() public static méthode

public static ValidateMatchResults ( this challenge ) : string
challenge this
Résultat string