/// <summary> /// Creates and returns a <see cref="ISingleTypeMapper{T}" /> instance for tournament schedule /// </summary> /// <param name="data">A <see cref="raceScheduleEndpoint" /> instance which the created <see cref="ISingleTypeMapper{T}" /> will map</param> /// <returns>New <see cref="ISingleTypeMapper{T}" /> instance</returns> public ISingleTypeMapper <EntityList <SportEventSummaryDTO> > CreateMapper(raceScheduleEndpoint data) { return(new TournamentRaceScheduleMapper(data)); }
/// <summary> /// Initializes a new instance of the <see cref="TournamentRaceScheduleMapper"/> class. /// </summary> /// <param name="data">>A <see cref="raceScheduleEndpoint"/> instance containing tournament schedule info</param> internal TournamentRaceScheduleMapper(raceScheduleEndpoint data) { Guard.Argument(data, nameof(data)).NotNull(); _data = data; }