Gutenberg

Class UnaryOperator<T>

Represents a unary (prefix or postfix) operator with a given precedence.

Inheritance
Declaration
public sealed class UnaryOperator<T> : Object
Type Parameters
Name Description

T

The type of annotations in the docuemnt.

Methods

Apply(Expression<T>)

Creates an Expression<T> representing this operator applied to the expression.

Declaration
public Expression<T> Apply(Expression<T> expression)
Parameters
Type Name Description

Expression<T>

expression

The expression to apply this operator to.

Returns
Type Description

Expression<T>

An Expression<T> representing this operator applied to the expression.

See Also

OperatorFactory<T>
BinaryOperator<T>