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
Floor()
Performs a Math.Floor() on the store its current value
public static OperationSpecification Floor()
Returns
Max(JToken)
Performs a Math.Max() on the store its current value vs the provided value
public static OperationSpecification Max(JToken i)
Parameters
i
JTokenThe value to compare to
Returns
Max(decimal)
Performs a Math.Max() on the store its current value vs the provided value
public static OperationSpecification Max(decimal i)
Parameters
i
decimalThe value to compare to
Returns
Max(double)
Performs a Math.Max() on the store its current value vs the provided value
public static OperationSpecification Max(double i)
Parameters
i
doubleThe value to compare to
Returns
Max(int)
Performs a Math.Max() on the store its current value vs the provided value
public static OperationSpecification Max(int i)
Parameters
i
intThe value to compare to
Returns
Max(long)
Performs a Math.Max() on the store its current value vs the provided value
public static OperationSpecification Max(long i)
Parameters
i
longThe value to compare to
Returns
Max(float)
Performs a Math.Max() on the store its current value vs the provided value
public static OperationSpecification Max(float i)
Parameters
i
floatThe value to compare to
Returns
Min(JToken)
Performs a Math.Min() on the store its current value vs the provided value
public static OperationSpecification Min(JToken i)
Parameters
i
JTokenThe value to compare to
Returns
Min(decimal)
Performs a Math.Min() on the store its current value vs the provided value
public static OperationSpecification Min(decimal i)
Parameters
i
decimalThe value to compare to
Returns
Min(double)
Performs a Math.Min() on the store its current value vs the provided value
public static OperationSpecification Min(double i)
Parameters
i
doubleThe value to compare to
Returns
Min(int)
Performs a Math.Min() on the store its current value vs the provided value
public static OperationSpecification Min(int i)
Parameters
i
intThe value to compare to
Returns
Min(long)
Performs a Math.Min() on the store its current value vs the provided value
public static OperationSpecification Min(long i)
Parameters
i
longThe value to compare to
Returns
Min(float)
Performs a Math.Min() on the store its current value vs the provided value
public static OperationSpecification Min(float i)
Parameters
i
floatThe value to compare to
Returns
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
JTokenThe index or key to remove
Returns
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
intThe index or key to remove
Returns
Remove(JToken)
Performs a List.Remove() to remove the first occurrence of the provided value
public static OperationSpecification Remove(JToken value)
Parameters
value
JTokenThe value to remove
Returns
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
IDictionaryThe dictionary to merge in