Table of Contents

Class NuGetLicense

Namespace
NuGet.Packaging.Licenses
Assembly
Chocolatey.NuGet.Packaging.dll

NuGet's internal representation of a license identifier.

public class NuGetLicense : NuGetLicenseExpression
Inheritance
NuGetLicense
Inherited Members
Extension Methods

Properties

Identifier

Identifier

public string Identifier { get; }

Property Value

string

IsStandardLicense

Signifies whether this is a standard license known by the NuGet APIs. Pack for example should warn for these.

public bool IsStandardLicense { get; }

Property Value

bool

Plus

Signifies whether the plus operator has been specified on this license

public bool Plus { get; }

Property Value

bool

Methods

ToString()

public override string ToString()

Returns

string