Table of Contents

Class Operation

Namespace
Archipelago.MultiClient.Net.Models
Assembly
Archipelago.MultiClient.Net.dll

Operations to apply to the DataStorage

public static class Operation
Inheritance
Operation
Inherited Members

Methods

Ceiling()

Performs a Math.Ceiling() on the store its current value

public static OperationSpecification Ceiling()

Returns

OperationSpecification

Floor()

Performs a Math.Floor() on the store its current value

public static OperationSpecification Floor()

Returns

OperationSpecification

Max(JToken)

Performs a Math.Max() on the store its current value vs the provided value

public static OperationSpecification Max(JToken i)

Parameters

i JToken

The value to compare to

Returns

OperationSpecification

Max(decimal)

Performs a Math.Max() on the store its current value vs the provided value

public static OperationSpecification Max(decimal i)

Parameters

i decimal

The value to compare to

Returns

OperationSpecification

Max(double)

Performs a Math.Max() on the store its current value vs the provided value

public static OperationSpecification Max(double i)

Parameters

i double

The value to compare to

Returns

OperationSpecification

Max(int)

Performs a Math.Max() on the store its current value vs the provided value

public static OperationSpecification Max(int i)

Parameters

i int

The value to compare to

Returns

OperationSpecification

Max(long)

Performs a Math.Max() on the store its current value vs the provided value

public static OperationSpecification Max(long i)

Parameters

i long

The value to compare to

Returns

OperationSpecification

Max(float)

Performs a Math.Max() on the store its current value vs the provided value

public static OperationSpecification Max(float i)

Parameters

i float

The value to compare to

Returns

OperationSpecification

Min(JToken)

Performs a Math.Min() on the store its current value vs the provided value

public static OperationSpecification Min(JToken i)

Parameters

i JToken

The value to compare to

Returns

OperationSpecification

Min(decimal)

Performs a Math.Min() on the store its current value vs the provided value

public static OperationSpecification Min(decimal i)

Parameters

i decimal

The value to compare to

Returns

OperationSpecification

Min(double)

Performs a Math.Min() on the store its current value vs the provided value

public static OperationSpecification Min(double i)

Parameters

i double

The value to compare to

Returns

OperationSpecification

Min(int)

Performs a Math.Min() on the store its current value vs the provided value

public static OperationSpecification Min(int i)

Parameters

i int

The value to compare to

Returns

OperationSpecification

Min(long)

Performs a Math.Min() on the store its current value vs the provided value

public static OperationSpecification Min(long i)

Parameters

i long

The value to compare to

Returns

OperationSpecification

Min(float)

Performs a Math.Min() on the store its current value vs the provided value

public static OperationSpecification Min(float i)

Parameters

i float

The value to compare to

Returns

OperationSpecification

Pop(JToken)

Performs a List.RemoveAt() or Dictionary.Remove() to remove a specified index or key from a list or dictionary

public static OperationSpecification Pop(JToken value)

Parameters

value JToken

The index or key to remove

Returns

OperationSpecification

Pop(int)

Performs a List.RemoveAt() or Dictionary.Remove() to remove a specified index or key from a list or dictionary

public static OperationSpecification Pop(int value)

Parameters

value int

The index or key to remove

Returns

OperationSpecification

Remove(JToken)

Performs a List.Remove() to remove the first occurrence of the provided value

public static OperationSpecification Remove(JToken value)

Parameters

value JToken

The value to remove

Returns

OperationSpecification

Update(IDictionary)

Performs Dictionary merge, adding all keys from value to the original dict overriding existing keys

public static OperationSpecification Update(IDictionary dictionary)

Parameters

dictionary IDictionary

The dictionary to merge in

Returns

OperationSpecification