Esempio n. 1
0
 public void SortCustom(SortFuncADTArray sortfunc, Handle hndl = INVALID_HANDLE)
 {
     _base.Sort((dynamic x, dynamic y) =>
     {
         return(sortfunc.Invoke(_base.IndexOf(x), _base.IndexOf(y), this, hndl));
     });
 }
Esempio n. 2
0
 /**
  * Custom sorts an ADT Array. You must pass in a comparison function.
  *
  * @param array         Array Handle to sort
  * @param sortfunc      Sort comparison function to use
  * @param hndl          Optional Handle to pass through the comparison calls.
  */
 public static void SortADTArrayCustom(object array, SortFuncADTArray sortfunc, object hndl = null)
 {
     throw new NotImplementedException();
 }