private void InvokeHalted(HaltArguments arguments) { var halted = Halted; if(halted != null) { halted(arguments); } }