Example #1
0
 protected virtual void OnEndOfSorting(SortingUnitEventArgs e)
 {
     this.EndOfSorting?.Invoke(this, e);
 }
Example #2
0
 private static void PrintSortingEvent(object sender, SortingUnitEventArgs e)
 {
     Console.WriteLine(e.Message);
     Console.WriteLine($"Sorting time: {e.TimePerformance}");
     Console.WriteLine();
 }