Interface INuspecCoreReader
A basic nuspec reader that understands ONLY the id, version, and min client version of a package.
public interface INuspecCoreReader
Remarks
Higher level concepts used for normal development nupkgs should go at a higher level
Methods
GetId()
Package Id
string GetId()
Returns
GetIdentity()
Id and Version of a package.
PackageIdentity GetIdentity()
Returns
GetMetadata()
Package metadata in the nuspec
IEnumerable<KeyValuePair<string, string>> GetMetadata()
Returns
GetMinClientVersion()
Minimum client version needed to consume the package.
NuGetVersion GetMinClientVersion()
Returns
- NuGetVersion
GetPackageTypes()
Gets zero or more package types from the .nuspec.
IReadOnlyList<PackageType> GetPackageTypes()
Returns
GetVersion()
Package Version
NuGetVersion GetVersion()
Returns
- NuGetVersion