public static NugetRestoreUrl ( this config ) : string | ||
config | this | |
Résultat | string |
public static string NugetRestoreUrl(this ISetupPackages config)
{
if (String.IsNullOrEmpty(config.Branch))
return "$(nugetUrl)/api/v2";
return $"$(nugetUrl)/private/{config.Branch}/api/v2";
}
}