C# 클래스 NugetForUnity.PackagesConfigFile

Represents a package.config file that holds the NuGet package dependencies for the project.
파일 보기 프로젝트 열기: GlitchEnzo/NuGetForUnity 1 사용 예제들

공개 메소드들

메소드 설명
AddPackage ( NugetPackageIdentifier package ) : void

Adds a package to the packages.config file.

Load ( string filepath ) : PackagesConfigFile

Loads a list of all currently installed packages by reading the packages.config file.

RemovePackage ( NugetPackageIdentifier package ) : void

Removes a package from the packages.config file.

Save ( string filepath ) : void

Saves the packages.config file and populates it with given installed NugetPackages.

메소드 상세

AddPackage() 공개 메소드

Adds a package to the packages.config file.
public AddPackage ( NugetPackageIdentifier package ) : void
package NugetPackageIdentifier The NugetPackage to add to the packages.config file.
리턴 void

Load() 공개 정적인 메소드

Loads a list of all currently installed packages by reading the packages.config file.
public static Load ( string filepath ) : PackagesConfigFile
filepath string
리턴 PackagesConfigFile

RemovePackage() 공개 메소드

Removes a package from the packages.config file.
public RemovePackage ( NugetPackageIdentifier package ) : void
package NugetPackageIdentifier The NugetPackage to remove from the packages.config file.
리턴 void

Save() 공개 메소드

Saves the packages.config file and populates it with given installed NugetPackages.
public Save ( string filepath ) : void
filepath string The filepath to where this packages.config will be saved.
리턴 void