GeneralUtils Class |
Namespace: SD.Tools.Algorithmia.UtilityClasses
The GeneralUtils type exposes the following members.
Name | Description | |
---|---|---|
CheckArraysAreEqual |
Performs a per-value compare on the arrays passed in and returns true if the arrays are of the same length and contain the same values.
| |
GetUsableComparisonT |
Gets a usable comparison for the comparer passed in.
| |
PerformSyncedAction(Action, Object, Boolean) |
Performs the specified action, either inside a lock on syncRoot if isSynchronized is true, or normally, if isSynchronized is false.
| |
PerformSyncedActionT(FuncT, Object, Boolean) |
Performs the specified action, either inside a lock on syncRoot if isSynchronized is true, or normally, if isSynchronized is false.
| |
ValuesAreEqual |
Compares the two values passed in and checks if they're value-wise the same. This extends 'Equals' in the sense that if the values are
arrays it considers them the same if the values of the arrays are the same as well and the length is the same.
|