Skip to content

Commit 537e438

Browse files
authored
Merge pull request #22861 from abpframework/CliUrls
Change the way of initializing static strings
2 parents f5a9126 + 05ad46c commit 537e438

File tree

1 file changed

+18
-3
lines changed
  • framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli

1 file changed

+18
-3
lines changed

framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/CliUrls.cs

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,24 @@ namespace Volo.Abp.Cli;
55

66
public static class CliUrls
77
{
8-
public static string WwwAbpIo = WwwAbpIoProduction;
9-
public static string AccountAbpIo = AccountAbpIoProduction;
10-
public static string NuGetRootPath = NuGetRootPathProduction;
8+
public static string WwwAbpIo
9+
{
10+
get => WwwAbpIoProduction;
11+
set => WwwAbpIoProduction = value;
12+
}
13+
14+
public static string AccountAbpIo
15+
{
16+
get => AccountAbpIoProduction;
17+
set => AccountAbpIoProduction = value;
18+
}
19+
20+
public static string NuGetRootPath
21+
{
22+
get => NuGetRootPathProduction;
23+
set => NuGetRootPathProduction = value;
24+
}
25+
1126
public static string LatestVersionCheckFullPath = "https://raw.githubusercontent.com/abpframework/abp/dev/latest-versions.json";
1227

1328
public static string WwwAbpIoProduction = "https://abp.io/";

0 commit comments

Comments
 (0)