public static string BuildDotNetNuGetDelete(string aTokenizedCommandLine) { StringBuilder vResult = new StringBuilder(aTokenizedCommandLine); vResult .Replace(PACKAGE_ID.AsToken(), PackageId) .Replace(PACKAGE_VERSION.AsToken(), PackageVersion) .Replace(SOURCE.AsToken(), Source) .Replace(API_KEY.AsToken(), ApiKey) .Replace(VERBOSITY_DOTNET.AsToken(), VerbosityDotNet); return(vResult.ToString()); }
public static string BuildDotNetNuGetPush(string aTokenizedCommandLine) { StringBuilder vResult = new StringBuilder(aTokenizedCommandLine); vResult .Replace(PACKAGE_PATH.AsToken(), PackagePath) .Replace(SOURCE.AsToken(), Source) .Replace(API_KEY.AsToken(), ApiKey) .Replace(SYMBOL_SOURCE.AsToken(), SymbolSource) .Replace(SYMBOL_API_KEY.AsToken(), SymbolApiKey) .Replace(TIMEOUT.AsToken(), Timeout) .Replace(VERBOSITY_DOTNET.AsToken(), VerbosityDotNet); return(vResult.ToString()); }