Browse Source

Refactor properties in CliUrls to use explicit getters and setters

pull/22861/head
maliming 1 year ago
parent
commit
05ad46c254
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  1. 21
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/CliUrls.cs

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

@ -5,9 +5,24 @@ namespace Volo.Abp.Cli;
public static class CliUrls public static class CliUrls
{ {
public static string WwwAbpIo => WwwAbpIoProduction; public static string WwwAbpIo
public static string AccountAbpIo => AccountAbpIoProduction; {
public static string NuGetRootPath => NuGetRootPathProduction; get => WwwAbpIoProduction;
set => WwwAbpIoProduction = value;
}
public static string AccountAbpIo
{
get => AccountAbpIoProduction;
set => AccountAbpIoProduction = value;
}
public static string NuGetRootPath
{
get => NuGetRootPathProduction;
set => NuGetRootPathProduction = value;
}
public static string LatestVersionCheckFullPath = "https://raw.githubusercontent.com/abpframework/abp/dev/latest-versions.json"; public static string LatestVersionCheckFullPath = "https://raw.githubusercontent.com/abpframework/abp/dev/latest-versions.json";
public static string WwwAbpIoProduction = "https://abp.io/"; public static string WwwAbpIoProduction = "https://abp.io/";

Loading…
Cancel
Save