Table of Contents

Class WithOperator

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

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

public class WithOperator : LicenseOperator
Inheritance
WithOperator
Inherited Members
Extension Methods

Constructors

WithOperator(NuGetLicense, NuGetLicenseException)

public WithOperator(NuGetLicense license, NuGetLicenseException exception)

Parameters

license NuGetLicense
exception NuGetLicenseException

Properties

Exception

The exception.

public NuGetLicenseException Exception { get; }

Property Value

NuGetLicenseException

License

The license.

public NuGetLicense License { get; }

Property Value

NuGetLicense

Methods

ToString()

public override string ToString()

Returns

string