LogLevel.op_LessThanOrEqual

LogLevel LessThanOrEqual operator

Compares two LogLevel objects and returns a value indicating whether the first one is less than or equal to the second one.

public static bool operator <=(LogLevel l1, LogLevel l2)
ParameterTypeDescription
l1LogLevelThe first level.
l2LogLevelThe second level.

Return Value

The value of l1.Ordinal <= l2.Ordinal

See Also