/// <summary> /// Runs all Kernel events based on the given type in the correct sequence /// </summary> /// <param name="type">The Kernel type to run</param> public void RunKernelEvents(KernelEventsTypes type) { // Get the correct elements and run the events RunKernelEvents(kernelEvents.Where(x => x.EventType == type) .OrderBy(x => x.Priority)); }
/// <summary> /// Runs all Kernel events based on the given type in the correct sequence /// </summary> /// <param name="type">The Kernel type to run</param> public void RunKernelEvents(KernelEventsTypes type) { // Get the correct elements and run the events RunKernelEvents(kernelEvents.Where(x => x.EventType == type) .OrderBy(x => x.Priority)); }