Sisk

Method

HttpContextInterlocked.Exchange

Namespace
Sisk.Core.Http
Assembly
Sisk.Core.dll

Exchange(string, long) #

Atomically replaces the value associated with the specified name.

C#
public double Exchange(string name, long value)

Parameters #

name string

The name of the value.

value long

The replacement value.

Returns #

double

The original stored value, or value when the name was not present.

Exchange(string, double) #

Atomically replaces the value associated with the specified name.

C#
public double Exchange(string name, double value)

Parameters #

name string

The name of the value.

value double

The replacement value.

Returns #

double

The original stored value, or value when the name was not present.

Exchange(string, long) #

Atomically replaces the value associated with the specified name.

C#
public double Exchange(string name, long value)

Parameters #

name string

The name of the value.

value long

The replacement value.

Returns #

double

The original stored value, or value when the name was not present.

Exchange(string, double) #

Atomically replaces the value associated with the specified name.

C#
public double Exchange(string name, double value)

Parameters #

name string

The name of the value.

value double

The replacement value.

Returns #

double

The original stored value, or value when the name was not present.

Type to search the documentation and the API reference.