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
iJTokenThe 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
idecimalThe 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
idoubleThe 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
iintThe 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
ilongThe 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
ifloatThe 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
iJTokenThe 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
idecimalThe 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
idoubleThe 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
iintThe 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
ilongThe 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
ifloatThe 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
valueJTokenThe 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
valueintThe 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
valueJTokenThe 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
dictionaryIDictionaryThe dictionary to merge in