C# 클래스 Google.Apis.Utils.NuGetUtilities

NuGet utilities class which support publishing to NuGet main repository, creating a local NuGet package, etc.
파일 보기 프로젝트 열기: Gainedge/BetterExplorer

공개 프로퍼티들

프로퍼티 타입 설명
LocalNuGetPackageFolder string

공개 메소드들

메소드 설명
CreateLocalNupkgFile ( string nuspecFilePath, string directory ) : string

Creates a local nupkg file, and stores it in a local folder (LocalNuGetPackageFolder).

DoesNugetPackageExist ( string packageName, string version ) : bool

Returns true if a NuGet package already exists in the main NuGet repository for the input name and version.

PublishToNuget ( string packagePath, string nugetApiKey ) : void

Publishes to the NuGet main repository.

비공개 메소드들

메소드 설명
NuGetUtilities ( ) : System

메소드 상세

CreateLocalNupkgFile() 공개 정적인 메소드

Creates a local nupkg file, and stores it in a local folder (LocalNuGetPackageFolder).
public static CreateLocalNupkgFile ( string nuspecFilePath, string directory ) : string
nuspecFilePath string
directory string
리턴 string

DoesNugetPackageExist() 공개 정적인 메소드

Returns true if a NuGet package already exists in the main NuGet repository for the input name and version.
public static DoesNugetPackageExist ( string packageName, string version ) : bool
packageName string
version string
리턴 bool

PublishToNuget() 공개 정적인 메소드

Publishes to the NuGet main repository.
public static PublishToNuget ( string packagePath, string nugetApiKey ) : void
packagePath string
nugetApiKey string
리턴 void

프로퍼티 상세

LocalNuGetPackageFolder 공개적으로 정적으로 프로퍼티

The local NuGet folder which stores local NuGet packages.
public static string LocalNuGetPackageFolder
리턴 string