C# Класс NugetForUnity.NuspecFile

Represents a .nuspec file used to store metadata for a NuGet package.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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