Table of Contents

Namespace NuGet.Packaging.Licenses

Classes

ExceptionData
LicenseData
LicenseOperator

A NuGetLicenseOperator. The operator options are: WITH or Logical operator, AND and OR. This is an abstract class so based on the NuGetLicenseOperatorType, it can be either a WithOperator or a LogicalOperator.

LogicalOperator

A Logical Operator NuGetLicenseExpression. It is either an OR or an AND operator, represented by LogicalOperatorType. This operator will always have a left and a right side, both of which are NuGetLicenseExpression and never null.

NuGetLicense

NuGet's internal representation of a license identifier.

NuGetLicenseData
NuGetLicenseException

NuGet's internal representation of a license exception identifier.

NuGetLicenseExpression

Represents a parsed NuGetLicenseExpression. This is an abstract class so based on the Type, it can be either a NuGetLicense or a LicenseOperator. LicenseExpressionType

NuGetLicenseExpressionExtensions
NuGetLicenseExpressionParsingException
WithOperator

Represents a NuGetLicenseExpression that's a WITH operator. It has a License and Exception.

Enums

LicenseExpressionType

Represents the expression type of a NuGetLicenseExpression. License type means that it's a NuGetLicense. Operator means that it's a LicenseOperator

LicenseOperatorType

Represents the type of LicenseOperatorNuGetLicenseExpression.

LogicalOperatorType

Represents the logical operator type of a LogicalOperator.