void ap_Explosion(object sender, MEventArgs e) { Console.WriteLine("{0} received a notification of the explosion", name); Console.WriteLine("Core temperature: {0}", e.Temperature); }
protected virtual void OnRaiseEvent(MEventArgs e) { Explosion(this, e); }