For Babelfish Release 1.11.3.13

MatchHtmlReport Class

Represents a html report that would be associated with a match. Such as the match's post-competition press release.

Definition

Namespace: Scopos.BabelFish.DataModel.OrionMatch
Assembly: BabelFish (in BabelFish.dll) Version: 1.11.3.13+877481945de6b4d2a3a561fea58e2494717cd263
C#
public class MatchHtmlReport
Inheritance
Object    MatchHtmlReport

Constructors

MatchHtmlReport Default public constructor

Properties

ReportType The type of match html report. The common values are as follows. In parenthesis are the types of matches you usually find them in.:
  • pressrelease (Local and Virtual Matches)
  • home (Leagues)
  • athltes (Leagues)
  • documents (Leagues)
  • schedule (Leagues)
  • standings (Leagues)
  • teams (Leagues)
  • Week n-recap (Leagues, n is integer 1..a lot)
Title The title of this MatchHtmlReport.
Uri The URI where to find this Match Html Report.

Methods

ClearCache Clears the response cache. User should call this if they recently assked the REST API to generate a match report.
CreateInstance 
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FactoryAsync 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.

FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetHtmlReportAsync Returns the html content, as a string, from the .Uri address.

If the .Uri is invalid (doesn't return a 200 success message), then this method returns an empty string. Check .IsValidUriAsync() to test if the Uri is valid first.

GetTypeGets the Type of the current instance.
(Inherited from Object)
IsValidUriAsync Returns true if the URI responds with HTTP 200. Result is cached for 10 minutes.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

See Also