public class MatchHtmlReport| MatchHtmlReport | Default public constructor |
| 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.:
|
| Title | The title of this MatchHtmlReport. |
| Uri | The URI where to find this Match Html Report. |
| ClearCache | Clears the response cache. User should call this if they recently assked the REST API to generate a match report. |
| CreateInstance | |
| Equals | Determines 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. |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves 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. |
| GetType | Gets 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. |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |