Ejemplo n.º 1
0
 /// <summary>
 /// Get the horse list
 /// </summary>
 /// <param name="model">The CaulfieldRaceModel model.</param>
 /// <returns>List of horses</returns>
 private List <Horse> GetHorseList(CaulfieldRaceModel model)
 {
     return(model.Races.Race.Horses.HorseList);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Get the horse list with price.
 /// </summary>
 /// <param name="model">The CaulfieldRaceModel model.</param>
 /// <returns>List of horses with price</returns>
 private List <HorseWithPrice> GetHorseListWithPrice(CaulfieldRaceModel model)
 {
     return(model.Races.Race.Prices.Price.HorsesWithPrice.HorseListWithPrice);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Gets the name of the race.
 /// </summary>
 /// <param name="model">The CaulfieldRaceModel model.</param>
 /// <returns>Name of the race</returns>
 private string GetRaceName(CaulfieldRaceModel model)
 {
     return(model.Track.Name);
 }