Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 1309ec5

Browse files
committed
Add Env.VersionString
1 parent 13051eb commit 1309ec5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ServiceStack.Text/Env.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,13 @@ static Env()
4747
+ platformName
4848
+ (IsMono ? "/Mono" : "/.NET");
4949

50+
VersionString = ServiceStackVersion.ToString();
51+
5052
__releaseDate = DateTime.Parse("2001-01-01");
5153
}
5254

55+
public static string VersionString { get; set; }
56+
5357
public static decimal ServiceStackVersion = 4.00m;
5458

5559
public static bool IsUnix { get; set; }

0 commit comments

Comments
 (0)