private void OnStopping(StopingEventArgs e) { EventHandler <StopingEventArgs> temp = Stoping; if (temp != null) { temp(this, e); } }
private void OnStopping(StopingEventArgs e) { EventHandler<StopingEventArgs> temp = Stoping; if (temp != null) { temp(this, e); } }
void Debugger_Stoping(object sender, StopingEventArgs e) { string reason; if (e.Breakpoint != null) { reason = "Breakpoint"; } else { reason = e.Action.ToString(); } Console.Out.WriteLine(String.Format("{0}:{1}: Stopping because of {2}", e.FileName, e.Line, reason)); m_LuaDebugAtStop = e.LuaDebug; }