Class NuGetPackage
Holds information for a given NuGet package's name, version, and if pre-release packages are considered
Inherited Members
Namespace: LemonEdge.NuGetManager.Models
Assembly: LemonEdge.NuGetManager.dll
Syntax
public class NuGetPackage
Constructors
NuGetPackage(string, string, bool)
Declaration
public NuGetPackage(string packageName, string version, bool isPreRelease = false)
Parameters
Type | Name | Description |
---|---|---|
string | packageName | |
string | version | |
bool | isPreRelease |
Properties
IsPreRelease
If pre-release packages should be considered for installation
Declaration
public bool IsPreRelease { get; }
Property Value
Type | Description |
---|---|
bool |
PackageName
The package name, source, or ID
Declaration
public string PackageName { get; }
Property Value
Type | Description |
---|---|
string |
Version
The requested package version string (i.e. , 1.2.3, 3.4., etc.)
Declaration
public string Version { get; }
Property Value
Type | Description |
---|---|
string |