Skip to content

Commit 91efb7a

Browse files
committed
refactor: update LibraryInfo LibraryFullVersion
1 parent 0755004 commit 91efb7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/WeihanLi.Common/Helpers/ApplicationHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public static LibraryInfo GetLibraryInfo(Assembly assembly)
4949
;
5050
return new LibraryInfo()
5151
{
52-
FullVersion = assemblyInformation.InformationalVersion,
52+
LibraryFullVersion = assemblyInformation.InformationalVersion,
5353
LibraryVersion = informationalVersionSplit[0],
5454
LibraryHash = informationalVersionSplit.Length > 1 ? informationalVersionSplit[1] : string.Empty,
5555
RepositoryUrl = repositoryUrl
@@ -243,7 +243,7 @@ public class LibraryInfo
243243
public required string LibraryVersion { get; init; }
244244
public required string LibraryHash { get; init; }
245245
public required string RepositoryUrl { get; init; }
246-
public string FullVersion { get => _fullVersion ?? LibraryVersion; init => _fullVersion = value; }
246+
public string LibraryFullVersion { get => _fullVersion ?? LibraryVersion; init => _fullVersion = value; }
247247
}
248248

249249
public class RuntimeInfo

0 commit comments

Comments
 (0)