Class 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.
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
LogicalOperatorTypeleft
NuGetLicenseExpressionright
NuGetLicenseExpression
Properties
Left
public NuGetLicenseExpression Left { get; }
Property Value
LogicalOperatorType
Represents the logical operator type of NuGetLicenseExpression.
public LogicalOperatorType LogicalOperatorType { get; }
Property Value
Right
public NuGetLicenseExpression Right { get; }
Property Value
Methods
ToString()
public override string ToString()