Table of Contents

Class LicenseOperator

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

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.

public abstract class LicenseOperator : NuGetLicenseExpression
Inheritance
LicenseOperator
Derived
Inherited Members
Extension Methods

Constructors

LicenseOperator(LicenseOperatorType)

protected LicenseOperator(LicenseOperatorType operatorType)

Parameters

operatorType LicenseOperatorType

Properties

OperatorType

The operator type. LogicalOperator means it's AND or OR and LogicalOperator NuGetLicenseWithOperator means it's the WITH operator and WithOperator

public LicenseOperatorType OperatorType { get; }

Property Value

LicenseOperatorType