C# Class HoldIt.ScoreUtil

显示文件 Open project: ibdknox/swred

Public Methods

Method Description
DownloadAsync ( string page, string>.Dictionary parameters, DownloadComplete onComplete, DownloadFailed onError ) : void
InsertScore ( VisualScoreInfo boxWithScore, List scores, System.Windows.Controls.ItemCollection list ) : void
ParseOutputIntoScore ( string output, int levelIndex, string level ) : ScoreData
ParseOutputIntoScores ( string output, int levelIndex, string level ) : IEnumerable

Method Details

DownloadAsync() public static method

public static DownloadAsync ( string page, string>.Dictionary parameters, DownloadComplete onComplete, DownloadFailed onError ) : void
page string
parameters string>.Dictionary
onComplete DownloadComplete
onError DownloadFailed
return void

InsertScore() public static method

public static InsertScore ( VisualScoreInfo boxWithScore, List scores, System.Windows.Controls.ItemCollection list ) : void
boxWithScore VisualScoreInfo
scores List
list System.Windows.Controls.ItemCollection
return void

ParseOutputIntoScore() public static method

public static ParseOutputIntoScore ( string output, int levelIndex, string level ) : ScoreData
output string
levelIndex int
level string
return ScoreData

ParseOutputIntoScores() public static method

public static ParseOutputIntoScores ( string output, int levelIndex, string level ) : IEnumerable
output string
levelIndex int
level string
return IEnumerable