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