From 91efb7a8d969c76f045322419aea0b55e676b04c Mon Sep 17 00:00:00 2001 From: Weihan Li Date: Wed, 9 Oct 2024 22:44:02 +0800 Subject: [PATCH] refactor: update LibraryInfo LibraryFullVersion --- src/WeihanLi.Common/Helpers/ApplicationHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/WeihanLi.Common/Helpers/ApplicationHelper.cs b/src/WeihanLi.Common/Helpers/ApplicationHelper.cs index ffa56007..a5155a75 100644 --- a/src/WeihanLi.Common/Helpers/ApplicationHelper.cs +++ b/src/WeihanLi.Common/Helpers/ApplicationHelper.cs @@ -49,7 +49,7 @@ public static LibraryInfo GetLibraryInfo(Assembly assembly) ; return new LibraryInfo() { - FullVersion = assemblyInformation.InformationalVersion, + LibraryFullVersion = assemblyInformation.InformationalVersion, LibraryVersion = informationalVersionSplit[0], LibraryHash = informationalVersionSplit.Length > 1 ? informationalVersionSplit[1] : string.Empty, RepositoryUrl = repositoryUrl @@ -243,7 +243,7 @@ public class LibraryInfo public required string LibraryVersion { get; init; } public required string LibraryHash { get; init; } public required string RepositoryUrl { get; init; } - public string FullVersion { get => _fullVersion ?? LibraryVersion; init => _fullVersion = value; } + public string LibraryFullVersion { get => _fullVersion ?? LibraryVersion; init => _fullVersion = value; } } public class RuntimeInfo