C# Class NuGet.Commands.PushCommand

Inheritance: Command
Show file Open project: xero-github/Nuget Class Usage Examples

Private Properties

Property Type Description
EnsurePackageExtension string
GetApiKey string
GetPackagesToPush IEnumerable
GetSymbolsPath string
PushCommand System
PushPackage void
PushPackageCore void
PushSymbols void
ResolveSource string

Public Methods

Method Description
ExecuteCommand ( ) : void

Private Methods

Method Description
EnsurePackageExtension ( string packagePath ) : string
GetApiKey ( string source, bool throwIfNotFound = true ) : string
GetPackagesToPush ( string packagePath ) : IEnumerable
GetSymbolsPath ( string packagePath ) : string

Get the symbols package from the original package. Removes the .nupkg and adds .symbols.nupkg

PushCommand ( IPackageSourceProvider packageSourceProvider, ISettings settings ) : System
PushPackage ( string packagePath, string source, string apiKey, System.TimeSpan timeout ) : void
PushPackageCore ( string source, string apiKey, PackageServer packageServer, string packageToPush, System.TimeSpan timeout ) : void
PushSymbols ( string packagePath, System.TimeSpan timeout ) : void
ResolveSource ( string packagePath ) : string

Method Details

ExecuteCommand() public method

public ExecuteCommand ( ) : void
return void