Skip to content

M_CodeJam_Arithmetic_OperatorsFactory_UnaryOperator__1

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

OperatorsFactory.UnaryOperator(T) Method

Unary operator factory method.

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

Syntax

C#

public static Func<T, T> UnaryOperator<T>(
	ExpressionType operatorType
)

VB

Public Shared Function UnaryOperator(Of T) ( 
	operatorType As ExpressionType
) As Func(Of T, T)

F#

static member UnaryOperator : 
        operatorType : ExpressionType -> Func<'T, 'T> 

Parameters

 

operatorType
Type: System.Linq.Expressions.ExpressionType
Type of the operator.

Type Parameters

 

T
The type of the operand

Return Value

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

See Also

Reference

OperatorsFactory Class
CodeJam.Arithmetic Namespace

Clone this wiki locally