Class TemplateDownloads
The template package downloads in progress, for the windows that list templates. The template sources report here (Report(TemplateDownload?)); windows show Current and refresh on Changed.
public static class TemplateDownloads
- Inheritance
-
objectTemplateDownloads
Properties
Current
The download in progress (or the last failed one), null when there is none.
public static TemplateDownload? Current { get; }
Property Value
Methods
Describe(TemplateDownload)
A short status line for download, e.g. "Downloading Stride.Templates.Samples (2/2): 45.2 / 131.9 MB".
public static string Describe(TemplateDownload download)
Parameters
downloadTemplateDownload
Returns
Report(TemplateDownload?)
Sets Current: a download's progress, its failure, or null once it is done.
public static void Report(TemplateDownload? download)
Parameters
downloadTemplateDownload
Events
Changed
Raised when Current changes, on the reporting thread (possibly a background one).
public static event Action? Changed