Click or drag to resize
Akka.NETAtomicCounterGetAndAdd Method
Returns the current value and adds the specified value to the counter.

Namespace:  Akka.Util.Internal
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public int GetAndAdd(
	int amount
)

Parameters

amount
Type: SystemInt32
The amount to add to the counter.

Return Value

Type: Int32
The original value before additions.

Implements

IAtomicCounterTGetAndAdd(T)
See Also