|
My Project v1
Project
|
静态 Public 成员函数 | |
| static void | Initialize () |
| static async Task< bool > | GetIsNeedUpdate () |
| 对比API版本,判断是否需要更新 | |
| static async Task< JsonDocument > | GetLatestAPIJsonDocument () |
| 获取 Gitee release最后一个版本的Json文件数据 | |
| static float | ParseVersionFromString (string version) |
| 将API版本字符串转为浮点数 | |
| static async Task< string > | GetLatestVersion (bool direct) |
| 获取 Gitee release最后一个版本的版本号 | |
属性 | |
| static ? bool | IsNeedUpdate [get, private set] |
| API是否需要更新?ture:需要;false:不需要;null:正在获取 | |
| static string | CurrentVersion [get] |
| 当前API版本 | |
| static string | LatestVersion = null [get, private set] |
| 网络上最新的API的版本 | |
|
static |
对比API版本,判断是否需要更新


|
static |
获取 Gitee release最后一个版本的Json文件数据

|
static |
获取 Gitee release最后一个版本的版本号
| url | 平台Json文件的API链接 |


|
static |


|
static |
将API版本字符串转为浮点数
| version |
| FormatException | 字符串格式不正确 |

|
staticget |
当前API版本
|
staticgetprivate set |
API是否需要更新?ture:需要;false:不需要;null:正在获取
|
staticgetprivate set |
网络上最新的API的版本