C# Class NugetForUnity.NugetConfigFile

Represents a NuGet.config file that stores the NuGet settings. See here: https://docs.nuget.org/consume/nuget-config-file
Exibir arquivo Open project: GlitchEnzo/NuGetForUnity Class Usage Examples

Public Methods

Method Description
CreateDefaultFile ( string filePath ) : NugetConfigFile

Creates a NuGet.config file with the default settings at the given full filepath.

Load ( string filePath ) : NugetConfigFile

Loads a NuGet.config file at the given filepath.

Save ( string filepath ) : void

Saves this NuGet.config file to disk.

Method Details

CreateDefaultFile() public static method

Creates a NuGet.config file with the default settings at the given full filepath.
public static CreateDefaultFile ( string filePath ) : NugetConfigFile
filePath string The full filepath where to create the NuGet.config file.
return NugetConfigFile

Load() public static method

Loads a NuGet.config file at the given filepath.
public static Load ( string filePath ) : NugetConfigFile
filePath string The full filepath to the NuGet.config file to load.
return NugetConfigFile

Save() public method

Saves this NuGet.config file to disk.
public Save ( string filepath ) : void
filepath string The filepath to where this NuGet.config will be saved.
return void