Skip to content

M_CodeJam_Arithmetic_OperatorsFactory_ComparisonOperator__1

Andrew Koryavchenko edited this page Jun 17, 2018 · 5 revisions

OperatorsFactory.ComparisonOperator(T) Method

Compare operator factory method..

Namespace: CodeJam.Arithmetic
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static Func<T, T, bool> ComparisonOperator<T>(
	ExpressionType comparisonType
)

VB

Public Shared Function ComparisonOperator(Of T) ( 
	comparisonType As ExpressionType
) As Func(Of T, T, Boolean)

F#

static member ComparisonOperator : 
        comparisonType : ExpressionType -> Func<'T, 'T, bool> 

Parameters

 

comparisonType
Type: System.Linq.Expressions.ExpressionType
Type of the comparison operator.

Type Parameters

 

T
The type of the operands

Return Value

Type: Func(T, T, Boolean)
Callback for the compare operator

See Also

Reference

OperatorsFactory Class
CodeJam.Arithmetic Namespace

Clone this wiki locally