For Babelfish Release 1.11.3.13

MatchHtmlReportFactoryAsync Method

Factory method that generates a MatchHtmlReport for the common (post-competitino) pressrelease report. Generates the instance based on the passed in MatchId, and assumes storage of report on cdn.scopos.tech.

Caller should check that the report exists, by calling .IsValidUriAsync() before adding the instance to the Match object's HtmlReports property.

Definition

Namespace: Scopos.BabelFish.DataModel.OrionMatch
Assembly: BabelFish (in BabelFish.dll) Version: 1.11.3.13+877481945de6b4d2a3a561fea58e2494717cd263
C#
public static Task<MatchHtmlReport> FactoryAsync(
	MatchID matchId,
	string reportType = "pressrelease"
)

Parameters

matchId  MatchID
reportType  String  (Optional)
The type of report to generate. The most common value is 'pressrelease'

Return Value

TaskMatchHtmlReport

Exceptions

ArgumentNullExceptionThrown when reportType is null or an empty string.

See Also