C# 클래스 NugetForUnity.NuspecFile

Represents a .nuspec file used to store metadata for a NuGet package.
파일 보기 프로젝트 열기: GlitchEnzo/NuGetForUnity 1 사용 예제들

공개 메소드들

메소드 설명
FromNupkgFile ( string nupkgFilepath ) : NuspecFile

Loads the .nuspec file inside the .nupkg file at the given filepath.

Load ( Stream stream ) : NuspecFile

Loads a .nuspec file inside the given stream.

Load ( System.Xml.Linq.XDocument nuspecDocument ) : NuspecFile

Loads a .nuspec file inside the given XDocument.

Load ( string filePath ) : NuspecFile

Loads a .nuspec file at the given filepath.

Save ( string filePath ) : void

Saves a NuspecFile to the given filepath, automatically overwriting.

메소드 상세

FromNupkgFile() 공개 정적인 메소드

Loads the .nuspec file inside the .nupkg file at the given filepath.
public static FromNupkgFile ( string nupkgFilepath ) : NuspecFile
nupkgFilepath string The filepath to the .nupkg file to load.
리턴 NuspecFile

Load() 공개 정적인 메소드

Loads a .nuspec file inside the given stream.
public static Load ( Stream stream ) : NuspecFile
stream System.IO.Stream The stream containing the .nuspec file to load.
리턴 NuspecFile

Load() 공개 정적인 메소드

Loads a .nuspec file inside the given XDocument.
public static Load ( System.Xml.Linq.XDocument nuspecDocument ) : NuspecFile
nuspecDocument System.Xml.Linq.XDocument The .nuspec file as an .
리턴 NuspecFile

Load() 공개 정적인 메소드

Loads a .nuspec file at the given filepath.
public static Load ( string filePath ) : NuspecFile
filePath string The full filepath to the .nuspec file to load.
리턴 NuspecFile

Save() 공개 메소드

Saves a NuspecFile to the given filepath, automatically overwriting.
public Save ( string filePath ) : void
filePath string The full filepath to the .nuspec file to save.
리턴 void