Table of Contents

Class LogicalOperator

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

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.

public class LogicalOperator : LicenseOperator
Inheritance
LogicalOperator
Inherited Members
Extension Methods

Constructors

LogicalOperator(LogicalOperatorType, NuGetLicenseExpression, NuGetLicenseExpression)

public LogicalOperator(LogicalOperatorType logicalOperatorType, NuGetLicenseExpression left, NuGetLicenseExpression right)

Parameters

logicalOperatorType LogicalOperatorType
left NuGetLicenseExpression
right NuGetLicenseExpression

Properties

Left

public NuGetLicenseExpression Left { get; }

Property Value

NuGetLicenseExpression

LogicalOperatorType

Represents the logical operator type of NuGetLicenseExpression.

public LogicalOperatorType LogicalOperatorType { get; }

Property Value

LogicalOperatorType

Right

public NuGetLicenseExpression Right { get; }

Property Value

NuGetLicenseExpression

Methods

ToString()

public override string ToString()

Returns

string