Class TCilTsegLastRelease
Unit
Declaration
type TCilTsegLastRelease = class(TCilTsegData)
Description
Class used to store a program release with its properties and links.
When filled by the "get last version" API endpoint, the instance contains the properties of latest release ordered by date.
Hierarchy
- TObject
- TCilTsegData
- TCilTsegLastRelease
Overview
Nested Types
| Protected | TPlatforms = TDictionary<string, string>; |
Fields
| Protected | var FPlatforms: TPlatforms; |
Methods
| Protected | procedure AddPlatform(const APlatform, ADownloadURL: string); |
| Public | function GetPlatforms: TStringDynArray; |
| Public | function GetDownloadURL(const APlatform: string): string; |
| Public | constructor Create; Override; |
| Public | destructor Destroy; override; |
Properties
| Public | property SoftwareLabel: string read FSoftwareLabel write SetSoftwareLabel; |
| Public | property SoftwareURL: string read FSoftwareURL write SetSoftwareURL; |
| Public | property ReleaseVersion: string read FReleaseVersion
write SetReleaseVersion; |
| Public | property ReleaseDate: TDate read FReleaseDate write SetReleaseDate; |
Description
Nested Types
| Protected | TPlatforms = TDictionary<string, string>; |
|
This item has no description. | |
Fields
| Protected | var FPlatforms: TPlatforms; |
|
This item has no description. | |
Methods
| Protected | procedure AddPlatform(const APlatform, ADownloadURL: string); |
|
This item has no description. | |
| Public | function GetPlatforms: TStringDynArray; |
|
Returns a list of available platforms for this release.
"platforms" are free labels in the CilTseg backoffice. You have to compare them to this software platform (with the label you have choosen). I generally use compilation directives and compiler target name in my projects but you are free to use what ever you want. | |
| Public | function GetDownloadURL(const APlatform: string): string; |
|
Returns the URL associated to a platform available for this release. | |
| Public | constructor Create; Override; |
|
Constructor method for this class. | |
| Public | destructor Destroy; override; |
|
Destructor method for this class.
Don't call it directly. Use ".Free()" or "FreeAndNil()" on an instance. | |
Properties
| Public | property SoftwareLabel: string read FSoftwareLabel write SetSoftwareLabel; |
|
Name of your software (as written in CilTseg publisher backoffice). | |
| Public | property SoftwareURL: string read FSoftwareURL write SetSoftwareURL; |
|
URL of your software (as written in CilTseg publisher backoffice). | |
| Public | property ReleaseVersion: string read FReleaseVersion
write SetReleaseVersion; |
|
Version number of this release. | |
| Public | property ReleaseDate: TDate read FReleaseDate write SetReleaseDate; |
|
Date of this version. | |
Generated by PasDoc 1.0.2.