Skip to content

TypedAddressChainEx ​

Extension methods for TypedAddressChain.

Kind: Static class

Namespace: ConnectorLib.Memory

Public Static Functions

bool

TryAdd<TConnector, TValue>(TypedAddressChain addressChain, TValue value)

Adds a value to the current value at the address.

bool

TrySubtract<TConnector, TValue>(TypedAddressChain addressChain, TValue value)

Subtracts a value from the current value at the address.

bool

TryMultiply<TConnector, TValue>(TypedAddressChain addressChain, TValue value)

Multiplies the current value at the address by a value.

bool

TryDivide<TConnector, TValue>(TypedAddressChain addressChain, TValue value)

Divides the current value at the address by a value.

bool

TryIncrement<TConnector, TValue>(TypedAddressChain addressChain)

Increments the current value at the address by one.

bool

TryDecrement<TConnector, TValue>(TypedAddressChain addressChain)

Decrements the current value at the address by one.

bool

TryUnaryPlus<TConnector, TValue>(TypedAddressChain addressChain)

Applies the unary plus operator to the current value at the address.

bool

TryUnaryNegation<TConnector, TValue>(TypedAddressChain addressChain)

Applies the unary negation operator to the current value at the address.