Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
NumberIncrementor Constructor (PropertyManipulator, Object, Boolean)
NumberIncrementor Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Construct an NumberIncrementor processor that will increment a property value by a specified amount, returning either the old or the new value as specified.

Namespace: Tangosol.Util.Processor
Assembly: Coherence (in Coherence.dll) Version: 3.6.0.0 (3.6.0.0)

# Syntax

C#
    public NumberIncrementor(
    	PropertyManipulator manipulator,
    	Object numInc,
    	bool postIncrement
    )

#### Parameters

manipulator
  Type: Tangosol.Util.Processor..::.PropertyManipulator
  The PropertyManipulator; could be null.

numInc
  Type: System..::.Object
  The object representing the magnitude and sign of the increment.

postIncrement
  Type: System..::.Boolean
  Pass true to return the value as it was before it was incremented, or pass false to return the value as it is after it is incremented.

# Remarks

The .NET type of the numInc parameter will dictate the .NET type of the original and the new value.

# See Also

NumberIncrementor Class
NumberIncrementor Overload
Tangosol.Util.Processor Namespace