LessThanOrEqual(ProcessTimeoutPolicy?, ProcessTimeoutPolicy?) Operator

Definition

Namespace CliInvoke.Core
Assembly CliInvoke.Core.dll

Defines a less-than-or-equal-to comparison between two ProcessTimeoutPolicy instances. Null is considered less than any non-null value.

public static bool operator <=(ProcessTimeoutPolicy? left, ProcessTimeoutPolicy? right)

Parameters

left
ProcessTimeoutPolicy

The left-hand operand in the comparison.

right
ProcessTimeoutPolicy

The right-hand operand in the comparison.

Returns

Boolean
true if the left-hand operand is less than or equal to the right-hand operand (null is less than or equal to any non-null policy, and two null values are equal); false if the right is null while the left is not, or the left is greater than the right.